Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuilderFor ¶ added in v1.14.0
func BuilderFor(db *sql.DB, driver Driver) sq.StatementBuilderType
BuilderFor returns a squirrel statement builder which decorates the provided sql.DB configured for the provided driver.
func WithMigrate ¶ added in v1.14.0
func WithMigrate(o *Options)
func WithSSLDisabled ¶ added in v1.14.0
func WithSSLDisabled(o *Options)
Types ¶
type Driver ¶
type Driver uint8
Driver represents a database driver
const ( // SQLite ... SQLite Driver // Postgres ... Postgres // MySQL ... MySQL // CockroachDB ... CockroachDB )
Click to show internal directories.
Click to hide internal directories.