package
4.9.0
Repository: https://github.com/upper/db.git
Documentation: pkg.go.dev

# README

PostgreSQL adapter for upper/db

Please read the full docs, acknowledgements and examples at https://upper.io/v4/adapter/postgresql/.

# Functions

JSONBValue takes an interface and provides a driver.Value that can be stored as a JSONB column.
New creates a sqlbuilder.Sesion instance by wrapping a *sql.DB value.
NewTx creates a sqlbuilder.Tx instance by wrapping a *sql.Tx value.
Open establishes a connection to the database server and returns a sqlbuilder.Session instance (which is compatible with db.Session).
ParseURL parses the given DSN into a ConnectionURL struct.
ScanJSONB decodes a JSON byte stream into the passed dst value.

# Constants

Adapter is the internal name of the adapter.

# Structs

ConnectionURL represents a parsed PostgreSQL connection URL.
JSONB represents a PostgreSQL's JSONB value: https://www.postgresql.org/docs/9.6/static/datatype-json.html.
No description provided by the author

# Type aliases

BoolArray represents a one-dimensional array of int64s (`[]bool{}`) that is compatible with PostgreSQL's boolean type (`boolean[]`).
No description provided by the author
ByteaArray represents a one-dimensional array of strings (`[]string{}`) that is compatible with PostgreSQL's text array (`text[]`).
Float32Array represents a one-dimensional array of float32s (`[]float32{}`) that is compatible with PostgreSQL's double precision array (`double precision[]`).
Float64Array represents a one-dimensional array of float64s (`[]float64{}`) that is compatible with PostgreSQL's double precision array (`double precision[]`).
Int32Array represents a one-dimensional array of int32s (`[]int32{}`) that is compatible with PostgreSQL's integer array (`integer[]`).
Int64Array represents a one-dimensional array of int64s (`[]int64{}`) that is compatible with PostgreSQL's integer array (`integer[]`).
JSONBArray represents an array of any type (`[]interface{}`) that is compatible with PostgreSQL's JSONB type.
JSONBMap represents a map of interfaces with string keys (`map[string]interface{}`) that is compatible with PostgreSQL's JSONB type.
StringArray represents a one-dimensional array of strings (`[]string{}`) that is compatible with PostgreSQL's text array (`text[]`).