Versions in this module Expand all Collapse all v10 v10.10.7 Feb 25, 2022 Changes in this version + func Append(b []byte, v interface{}, flags int) []byte + func AppendBytes(b []byte, bytes []byte, flags int) []byte + func AppendError(b []byte, err error) []byte + func AppendIdent(b []byte, field string, flags int) []byte + func AppendIdentBytes(b []byte, field []byte, flags int) []byte + func AppendJSONB(b, jsonb []byte, flags int) []byte + func AppendNull(b []byte, flags int) []byte + func AppendString(b []byte, s string, flags int) []byte + func AppendTime(b []byte, tm time.Time, flags int) []byte + func NewHexDecoder(rd Reader, n int) (io.Reader, error) + func ParseTime(b []byte) (time.Time, error) + func ParseTimeString(s string) (time.Time, error) + func ReadBytes(rd Reader, b []byte) error + func ReadColumnValue(col ColumnInfo, rd Reader, n int) (interface{}, error) + func RegisterAppender(value interface{}, fn AppenderFunc) + func RegisterScanner(value interface{}, fn ScannerFunc) + func Scan(v interface{}, rd Reader, n int) error + func ScanBool(rd Reader, n int) (bool, error) + func ScanBytes(rd Reader, n int) ([]byte, error) + func ScanFloat32(rd Reader, n int) (float32, error) + func ScanFloat64(rd Reader, n int) (float64, error) + func ScanInt(rd Reader, n int) (int, error) + func ScanInt64(rd Reader, n int) (int64, error) + func ScanString(rd Reader, n int) (string, error) + func ScanTime(rd Reader, n int) (time.Time, error) + func ScanUint64(rd Reader, n int) (uint64, error) + func ScanValue(v reflect.Value, rd Reader, n int) error + type AppenderFunc func([]byte, reflect.Value, int) []byte + func Appender(typ reflect.Type) AppenderFunc + func ArrayAppender(typ reflect.Type) AppenderFunc + func HstoreAppender(typ reflect.Type) AppenderFunc + type Array struct + func NewArray(vi interface{}) *Array + func (a *Array) AppendValue(b []byte, flags int) ([]byte, error) + func (a *Array) ScanValue(rd Reader, n int) error + func (a *Array) Value() interface{} + type ArrayValueScanner interface + AfterScanArrayValue func() error + BeforeScanArrayValue func(rd Reader, n int) error + ScanArrayValue func(rd Reader, n int) error + type ColumnInfo = pool.ColumnInfo + type HexEncoder struct + func NewHexEncoder(b []byte, flags int) *HexEncoder + func (enc *HexEncoder) Bytes() []byte + func (enc *HexEncoder) Close() error + func (enc *HexEncoder) Write(b []byte) (int, error) + type Hstore struct + func NewHstore(vi interface{}) *Hstore + func (h *Hstore) AppendValue(b []byte, flags int) ([]byte, error) + func (h *Hstore) ScanValue(rd Reader, n int) error + func (h *Hstore) Value() interface{} + type Ident string + func (f Ident) AppendValue(b []byte, flags int) ([]byte, error) + type NullTime struct + func (tm *NullTime) Scan(b interface{}) error + func (tm *NullTime) UnmarshalJSON(b []byte) error + func (tm NullTime) AppendValue(b []byte, flags int) ([]byte, error) + func (tm NullTime) MarshalJSON() ([]byte, error) + type RawValue struct + Type int32 + Value string + func (v RawValue) AppendValue(b []byte, flags int) ([]byte, error) + func (v RawValue) MarshalJSON() ([]byte, error) + type Reader = pool.Reader + type Safe string + func (q Safe) AppendValue(b []byte, flags int) ([]byte, error) + type ScannerFunc func(reflect.Value, Reader, int) error + func ArrayScanner(typ reflect.Type) ScannerFunc + func HstoreScanner(typ reflect.Type) ScannerFunc + func Scanner(typ reflect.Type) ScannerFunc + type ValueAppender interface + AppendValue func(b []byte, flags int) ([]byte, error) + func In(slice interface{}) ValueAppender + func InMulti(values ...interface{}) ValueAppender + type ValueScanner interface + ScanValue func(rd Reader, n int) error Other modules containing this package github.com/oelayan/pg