Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseDriver ¶
type DatabaseDriver string
const ( PostgresDriver DatabaseDriver = "postgres" SqliteDriver DatabaseDriver = "sqlite" )
func ParseDBDriver ¶
func ParseDBDriver(d string) (DatabaseDriver, error)
func (DatabaseDriver) BindVar ¶
func (d DatabaseDriver) BindVar() sqlf.BindVar
func (DatabaseDriver) DriverName ¶
func (d DatabaseDriver) DriverName() string
func (DatabaseDriver) IsPostgres ¶
func (d DatabaseDriver) IsPostgres() bool
func (DatabaseDriver) IsSQLite ¶
func (d DatabaseDriver) IsSQLite() bool
func (DatabaseDriver) String ¶
func (d DatabaseDriver) String() string
func (DatabaseDriver) Valid ¶
func (d DatabaseDriver) Valid() bool
Click to show internal directories.
Click to hide internal directories.