Documentation ¶
Index ¶
- type Postgres
- func (psql *Postgres) ApplyInsertQueryCustomizations(insert sq.InsertBuilder, requestConflictEmptyResult bool) (sq.InsertBuilder, bool)
- func (psql *Postgres) Features() sqlcommon.SQLFeatures
- func (psql *Postgres) GetMigrationDriver(db *sql.DB) (migratedb.Driver, error)
- func (psql *Postgres) Init(ctx context.Context, prefix config.Prefix, callbacks database.Callbacks) error
- func (psql *Postgres) InitPrefix(prefix config.Prefix)
- func (psql *Postgres) MigrationsDir() string
- func (psql *Postgres) Name() string
- func (psql *Postgres) Open(url string) (*sql.DB, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Postgres ¶
func (*Postgres) ApplyInsertQueryCustomizations ¶ added in v0.13.0
func (psql *Postgres) ApplyInsertQueryCustomizations(insert sq.InsertBuilder, requestConflictEmptyResult bool) (sq.InsertBuilder, bool)
func (*Postgres) Features ¶ added in v0.12.0
func (psql *Postgres) Features() sqlcommon.SQLFeatures
func (*Postgres) GetMigrationDriver ¶
func (*Postgres) InitPrefix ¶
func (*Postgres) MigrationsDir ¶
Click to show internal directories.
Click to hide internal directories.