Documentation
¶
Index ¶
- type Database
- func (d *Database) Begin(ctx context.Context) (Transaction, error)
- func (d *Database) Close()
- func (d *Database) Exec(query string, args ...interface{}) (pgconn.CommandTag, error)
- func (d *Database) Query(query string, args ...interface{}) (pgx.Rows, error)
- func (d *Database) QueryRow(query string, args ...interface{}) pgx.Row
- type Transaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func (*Database) Exec ¶
func (d *Database) Exec(query string, args ...interface{}) (pgconn.CommandTag, error)
type Transaction ¶
Click to show internal directories.
Click to hide internal directories.