Documentation ¶
Index ¶
- type Postgres
- 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)
- func (psql *Postgres) PlaceholderFormat() sq.PlaceholderFormat
- func (psql *Postgres) UpdateInsertForSequenceReturn(insert sq.InsertBuilder) (sq.InsertBuilder, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Postgres ¶
func (*Postgres) GetMigrationDriver ¶
func (*Postgres) InitPrefix ¶
func (*Postgres) MigrationsDir ¶
func (*Postgres) PlaceholderFormat ¶
func (psql *Postgres) PlaceholderFormat() sq.PlaceholderFormat
func (*Postgres) UpdateInsertForSequenceReturn ¶
func (psql *Postgres) UpdateInsertForSequenceReturn(insert sq.InsertBuilder) (sq.InsertBuilder, bool)
Click to show internal directories.
Click to hide internal directories.