Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResetSequenceSQL ¶
Types ¶
type BoolArray ¶
type BoolArray []bool
BoolArray represents a one-dimensional array of the PostgreSQL boolean type.
type Float32Array ¶
type Float32Array []float32
Float32Array represents a one-dimensional array of the PostgreSQL double precision type.
func (*Float32Array) Scan ¶
func (a *Float32Array) Scan(src any) error
Scan implements the sql.Scanner interface.
func (Float32Array) Slice ¶
func (a Float32Array) Slice() []float32
type Float64Array ¶
type Float64Array []float64
Float64Array represents a one-dimensional array of the PostgreSQL double precision type.
func (*Float64Array) Scan ¶
func (a *Float64Array) Scan(src any) error
Scan implements the sql.Scanner interface.
func (Float64Array) Slice ¶
func (a Float64Array) Slice() []float64
type Int32Array ¶
type Int32Array []int32
Int32Array represents a one-dimensional array of the PostgreSQL integer types.
func (*Int32Array) Scan ¶
func (a *Int32Array) Scan(src any) error
Scan implements the sql.Scanner interface.
func (Int32Array) Slice ¶
func (a Int32Array) Slice() []int32
type Int64Array ¶
type Int64Array []int64
Int64Array represents a one-dimensional array of the PostgreSQL integer types.
func (*Int64Array) Scan ¶
func (a *Int64Array) Scan(src any) error
Scan implements the sql.Scanner interface.
func (Int64Array) Slice ¶
func (a Int64Array) Slice() []int64
type IntArray ¶
type IntArray []int
IntArray represents a one-dimensional array of the PostgreSQL integer types.
type StringArray ¶
type StringArray []string
StringArray represents a one-dimensional array of the PostgreSQL character types.
func (*StringArray) Scan ¶
func (a *StringArray) Scan(src any) error
Scan implements the sql.Scanner interface.
func (StringArray) Slice ¶
func (a StringArray) Slice() []string
type Vector ¶
type Vector []float64
Vector is a wrapper for []float64 to implement sql.Scanner and driver.Valuer.