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