Documentation ¶
Index ¶
- func New(db *sql.DB) *qbdb.DB
- type Driver
- func (d Driver) BoolString(v bool) string
- func (d Driver) Override() qb.OverrideMap
- func (d Driver) Returning(q qb.Query, f []qb.Field) (string, []interface{})
- func (d Driver) TypeName(t qb.DataType) string
- func (d Driver) UpsertSQL(t *qb.Table, conflict []qb.Field, q qb.Query) (string, []interface{})
- func (d Driver) ValueString(c int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Driver ¶
type Driver struct{}
Driver implements PostgreSQL-specific features
func (Driver) BoolString ¶
BoolString formats a boolean in a format supported by PostgreSQL
func (Driver) ValueString ¶
ValueString returns a the SQL for a parameter value
Click to show internal directories.
Click to hide internal directories.