sqltype

package
v1.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoolSlice

type BoolSlice[T ~bool] []T

BoolSlice represents a one-dimensional array of the PostgreSQL boolean type.

func (*BoolSlice[T]) Scan

func (a *BoolSlice[T]) Scan(src interface{}) error

Scan implements the sql.Scanner interface.

func (BoolSlice[T]) Value

func (a BoolSlice[T]) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

type Float32Slice

type Float32Slice[T ~float32] []T

Float32Slice represents a one-dimensional array of the PostgreSQL double precision type.

func (*Float32Slice[T]) Scan

func (a *Float32Slice[T]) Scan(src interface{}) error

Scan implements the sql.Scanner interface.

func (Float32Slice[T]) Value

func (a Float32Slice[T]) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

type Float64Slice

type Float64Slice[T ~float64] []T

Float64Slice represents a one-dimensional array of the PostgreSQL double precision type.

func (*Float64Slice[T]) Scan

func (a *Float64Slice[T]) Scan(src interface{}) error

Scan implements the sql.Scanner interface.

func (Float64Slice[T]) Value

func (a Float64Slice[T]) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

type Int8Slice

type Int8Slice[T ~int8] []T

Int64Slice represents a one-dimensional array of the PostgreSQL integer types.

func (*Int8Slice[T]) Scan

func (a *Int8Slice[T]) Scan(src any) error

Scan implements the sql.Scanner interface.

func (Int8Slice[T]) Value

func (a Int8Slice[T]) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

type Int16Slice

type Int16Slice[T ~int16] []T

Int64Slice represents a one-dimensional array of the PostgreSQL integer types.

func (*Int16Slice[T]) Scan

func (a *Int16Slice[T]) Scan(src any) error

Scan implements the sql.Scanner interface.

func (Int16Slice[T]) Value

func (a Int16Slice[T]) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

type Int32Slice

type Int32Slice[T ~int32] []T

Int64Slice represents a one-dimensional array of the PostgreSQL integer types.

func (*Int32Slice[T]) Scan

func (a *Int32Slice[T]) Scan(src any) error

Scan implements the sql.Scanner interface.

func (Int32Slice[T]) Value

func (a Int32Slice[T]) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

type Int64Slice

type Int64Slice[T ~int64] []T

Int64Slice represents a one-dimensional array of the PostgreSQL integer types.

func (*Int64Slice[T]) Scan

func (a *Int64Slice[T]) Scan(src any) error

Scan implements the sql.Scanner interface.

func (Int64Slice[T]) Value

func (a Int64Slice[T]) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

type IntSlice

type IntSlice[T ~int] []T

Int64Slice represents a one-dimensional array of the PostgreSQL integer types.

func (*IntSlice[T]) Scan

func (a *IntSlice[T]) Scan(src any) error

Scan implements the sql.Scanner interface.

func (IntSlice[T]) Value

func (a IntSlice[T]) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

type StringSlice

type StringSlice[T ~string] []T

StringSlice represents a one-dimensional array of the SQL character types.

func (*StringSlice[T]) Scan

func (a *StringSlice[T]) Scan(src any) error

Scan implements the sql.Scanner interface.

func (StringSlice[T]) Value

func (a StringSlice[T]) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

type Uint8Slice

type Uint8Slice[T ~uint8] []T

Uint64Slice represents a one-dimensional array of the PostgreSQL integer types.

func (*Uint8Slice[T]) Scan

func (a *Uint8Slice[T]) Scan(src any) error

Scan implements the sql.Scanner interface.

func (Uint8Slice[T]) Value

func (a Uint8Slice[T]) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

type Uint16Slice

type Uint16Slice[T ~uint16] []T

Uint64Slice represents a one-dimensional array of the PostgreSQL integer types.

func (*Uint16Slice[T]) Scan

func (a *Uint16Slice[T]) Scan(src any) error

Scan implements the sql.Scanner interface.

func (Uint16Slice[T]) Value

func (a Uint16Slice[T]) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

type Uint32Slice

type Uint32Slice[T ~uint32] []T

Uint64Slice represents a one-dimensional array of the PostgreSQL integer types.

func (*Uint32Slice[T]) Scan

func (a *Uint32Slice[T]) Scan(src any) error

Scan implements the sql.Scanner interface.

func (Uint32Slice[T]) Value

func (a Uint32Slice[T]) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

type Uint64Slice

type Uint64Slice[T ~uint64] []T

Uint64Slice represents a one-dimensional array of the PostgreSQL integer types.

func (*Uint64Slice[T]) Scan

func (a *Uint64Slice[T]) Scan(src any) error

Scan implements the sql.Scanner interface.

func (Uint64Slice[T]) Value

func (a Uint64Slice[T]) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

type UintSlice

type UintSlice[T ~uint] []T

Uint64Slice represents a one-dimensional array of the PostgreSQL integer types.

func (*UintSlice[T]) Scan

func (a *UintSlice[T]) Scan(src any) error

Scan implements the sql.Scanner interface.

func (UintSlice[T]) Value

func (a UintSlice[T]) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

Jump to

Keyboard shortcuts

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