pq

package
v2.2.57 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Int64Array

type Int64Array struct {
	pgtype.Int8Array
}

func NewInt64Array

func NewInt64Array(value []int64) Int64Array

func (Int64Array) AsSlice

func (i Int64Array) AsSlice() []int64

func (Int64Array) MarshalJSON

func (i Int64Array) MarshalJSON() ([]byte, error)

func (*Int64Array) UnmarshalJSON added in v2.1.7

func (i *Int64Array) UnmarshalJSON(b []byte) error

type StringArray

type StringArray struct {
	pgtype.TextArray
}

func NewStringArray

func NewStringArray(value []string) StringArray

func (StringArray) AsSlice

func (s StringArray) AsSlice() []string

func (StringArray) Get

func (s StringArray) Get(i int) string

func (StringArray) Len

func (s StringArray) Len() int

func (StringArray) MarshalJSON

func (s StringArray) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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