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 ¶
func (psql *Postgres) ApplyInsertQueryCustomizations(insert sq.InsertBuilder, requestConflictEmptyResult bool) (sq.InsertBuilder, bool)
func (*Postgres) Features ¶
func (psql *Postgres) Features() dbsql.SQLFeatures
func (*Postgres) GetMigrationDriver ¶
func (*Postgres) InitConfig ¶
func (*Postgres) MigrationsDir ¶
func (*Postgres) SequenceColumn ¶
Click to show internal directories.
Click to hide internal directories.