Documentation ¶
Index ¶
- type Postgres
- func (psql *Postgres) ApplyInsertQueryCustomizations(insert sq.InsertBuilder, requestConflictEmptyResult bool) (sq.InsertBuilder, bool)
- func (psql *Postgres) Features() dbsql.SQLFeatures
- func (psql *Postgres) GetMigrationDriver(db *sql.DB) (migratedb.Driver, error)
- func (psql *Postgres) Init(ctx context.Context, config config.Section) error
- func (psql *Postgres) InitConfig(config config.Section)
- func (psql *Postgres) MigrationsDir() string
- func (psql *Postgres) Name() string
- func (psql *Postgres) Open(url string) (*sql.DB, error)
- func (psql *Postgres) SequenceColumn() string
- func (psql *Postgres) SetHandler(namespace string, handler database.Callbacks)
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() dbsql.SQLFeatures
func (*Postgres) GetMigrationDriver ¶
func (*Postgres) InitConfig ¶ added in v1.1.0
func (*Postgres) MigrationsDir ¶
func (*Postgres) SequenceColumn ¶ added in v1.1.3
Click to show internal directories.
Click to hide internal directories.