Documentation ¶
Overview ¶
Package postgresql contains code specific for PostgreSQL database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetQueryAndArgs ¶ added in v0.1.0
func GetQueryAndArgs(request *api_service_protos.TDescribeTableRequest) (string, []any)
func NewConnectionManager ¶
func NewConnectionManager(cfg rdbms_utils.ConnectionManagerBase) rdbms_utils.ConnectionManager
func NewSQLFormatter ¶
func NewSQLFormatter() rdbms_utils.SQLFormatter
func NewTypeMapper ¶
func NewTypeMapper() datasource.TypeMapper
Types ¶
type Connection ¶
type Connection struct { *pgx.Conn // contains filtered or unexported fields }
func (Connection) Close ¶
func (c Connection) Close() error
func (Connection) Query ¶
func (c Connection) Query(ctx context.Context, query string, args ...any) (rdbms_utils.Rows, error)
Click to show internal directories.
Click to hide internal directories.