# README
CockroachDB adapter for upper/db
Please read the full docs, acknowledgements and examples at https://upper.io/v4/adapter/cockroachdb/.
# Functions
DecodeJSONB is deprecated and going to be removed.
EncodeJSONB is deprecated and going to be removed.
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 db.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 unique name that you can use to refer to this adapter.
# Structs
ConnectionURL represents a parsed CockroachDB connection URL.
JSONB represents a PostgreSQL's JSONB value: https://www.postgresql.org/docs/9.6/static/datatype-json.html.
JSONBConverter provides a helper method WrapValue that satisfies sqlbuilder.ValueWrapper, can be used to encode Go structs into JSONB PostgreSQL types and vice versa.
# 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[]`).