internal

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WrapSQLIdent = strconv.Quote

WrapSQLIdent is used to wrap PostgreSQL identifier under quotes. It allows to use uppercase letters and special characters (like `-`) in the names of identifiers

Functions

This section is empty.

Types

type DbInfo added in v0.13.0

type DbInfo struct {
	// contains filtered or unexported fields
}

DbInfo provides information about tables in a database.

func NewDbInfo added in v0.13.0

func NewDbInfo(conn *pgx.Conn) *DbInfo

func (*DbInfo) GetNumericColumnScale added in v0.13.0

func (d *DbInfo) GetNumericColumnScale(ctx context.Context, table string, column string) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL