Versions in this module Expand all Collapse all v0 v0.9.0 Aug 6, 2026 Changes in this version + func NewPostgreSQLDriver() database.DatabaseDriver + type PostgreSQLDriver struct + func (d *PostgreSQLDriver) BeginTx(ctx context.Context) (database.Transaction, error) + func (d *PostgreSQLDriver) Close() error + func (d *PostgreSQLDriver) Connect(ctx context.Context, dsn string) error + func (d *PostgreSQLDriver) CreateTable(schema database.TableSchema) (database.Query, error) + func (d *PostgreSQLDriver) Delete(table string, where string, whereArgs ...interface{}) (database.Query, error) + func (d *PostgreSQLDriver) DropTable(tableName string) (database.Query, error) + func (d *PostgreSQLDriver) Exec(ctx context.Context, query string, args ...interface{}) (sql.Result, error) + func (d *PostgreSQLDriver) Insert(table string, data map[string]interface{}) (database.Query, error) + func (d *PostgreSQLDriver) MapType(schemaType string) string + func (d *PostgreSQLDriver) Ping(ctx context.Context) error + func (d *PostgreSQLDriver) Query(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error) + func (d *PostgreSQLDriver) QueryRow(ctx context.Context, query string, args ...interface{}) *sql.Row + func (d *PostgreSQLDriver) Select(table string, columns []string, where string, whereArgs ...interface{}) (database.Query, error) + func (d *PostgreSQLDriver) SupportsArrays() bool + func (d *PostgreSQLDriver) SupportsLastInsertId() bool + func (d *PostgreSQLDriver) SupportsReturning() bool + func (d *PostgreSQLDriver) TableExists(tableName string) (bool, error) + func (d *PostgreSQLDriver) Update(table string, data map[string]interface{}, where string, ...) (database.Query, error)