type github.com/jackc/pgx/v5/pgtype.Int8
93 uses
github.com/jackc/pgx/v5/pgtype (current package)
builtin_wrappers.go#L18: func (w *int8Wrapper) ScanInt64(v Int8) error {
builtin_wrappers.go#L34: func (w int8Wrapper) Int64Value() (Int8, error) {
builtin_wrappers.go#L35: return Int8{Int64: int64(w), Valid: true}, nil
builtin_wrappers.go#L42: func (w *int16Wrapper) ScanInt64(v Int8) error {
builtin_wrappers.go#L58: func (w int16Wrapper) Int64Value() (Int8, error) {
builtin_wrappers.go#L59: return Int8{Int64: int64(w), Valid: true}, nil
builtin_wrappers.go#L66: func (w *int32Wrapper) ScanInt64(v Int8) error {
builtin_wrappers.go#L82: func (w int32Wrapper) Int64Value() (Int8, error) {
builtin_wrappers.go#L83: return Int8{Int64: int64(w), Valid: true}, nil
builtin_wrappers.go#L90: func (w *int64Wrapper) ScanInt64(v Int8) error {
builtin_wrappers.go#L100: func (w int64Wrapper) Int64Value() (Int8, error) {
builtin_wrappers.go#L101: return Int8{Int64: int64(w), Valid: true}, nil
builtin_wrappers.go#L108: func (w *intWrapper) ScanInt64(v Int8) error {
builtin_wrappers.go#L125: func (w intWrapper) Int64Value() (Int8, error) {
builtin_wrappers.go#L126: return Int8{Int64: int64(w), Valid: true}, nil
builtin_wrappers.go#L133: func (w *uint8Wrapper) ScanInt64(v Int8) error {
builtin_wrappers.go#L149: func (w uint8Wrapper) Int64Value() (Int8, error) {
builtin_wrappers.go#L150: return Int8{Int64: int64(w), Valid: true}, nil
builtin_wrappers.go#L157: func (w *uint16Wrapper) ScanInt64(v Int8) error {
builtin_wrappers.go#L173: func (w uint16Wrapper) Int64Value() (Int8, error) {
builtin_wrappers.go#L174: return Int8{Int64: int64(w), Valid: true}, nil
builtin_wrappers.go#L181: func (w *uint32Wrapper) ScanInt64(v Int8) error {
builtin_wrappers.go#L197: func (w uint32Wrapper) Int64Value() (Int8, error) {
builtin_wrappers.go#L198: return Int8{Int64: int64(w), Valid: true}, nil
builtin_wrappers.go#L205: func (w *uint64Wrapper) ScanInt64(v Int8) error {
builtin_wrappers.go#L219: func (w uint64Wrapper) Int64Value() (Int8, error) {
builtin_wrappers.go#L221: return Int8{}, fmt.Errorf("%d is greater than maximum value for int64", w)
builtin_wrappers.go#L224: return Int8{Int64: int64(w), Valid: true}, nil
builtin_wrappers.go#L254: func (w *uintWrapper) ScanInt64(v Int8) error {
builtin_wrappers.go#L272: func (w uintWrapper) Int64Value() (Int8, error) {
builtin_wrappers.go#L274: return Int8{}, fmt.Errorf("%d is greater than maximum value for int64", w)
builtin_wrappers.go#L277: return Int8{Int64: int64(w), Valid: true}, nil
builtin_wrappers.go#L313: func (w *float32Wrapper) ScanInt64(v Int8) error {
builtin_wrappers.go#L323: func (w float32Wrapper) Int64Value() (Int8, error) {
builtin_wrappers.go#L325: return Int8{}, fmt.Errorf("%f is greater than maximum value for int64", w)
builtin_wrappers.go#L328: return Int8{Int64: int64(w), Valid: true}, nil
builtin_wrappers.go#L349: func (w *float64Wrapper) ScanInt64(v Int8) error {
builtin_wrappers.go#L359: func (w float64Wrapper) Int64Value() (Int8, error) {
builtin_wrappers.go#L361: return Int8{}, fmt.Errorf("%f is greater than maximum value for int64", w)
builtin_wrappers.go#L364: return Int8{Int64: int64(w), Valid: true}, nil
float4.go#L31: func (f *Float4) ScanInt64(n Int8) error {
float4.go#L37: func (f Float4) Int64Value() (Int8, error) {
float4.go#L38: return Int8{Int64: int64(f.Float32), Valid: f.Valid}, nil
float4.go#L245: return s.ScanInt64(Int8{})
float4.go#L259: return s.ScanInt64(Int8{Int64: i64, Valid: true})
float8.go#L39: func (f *Float8) ScanInt64(n Int8) error {
float8.go#L45: func (f Float8) Int64Value() (Int8, error) {
float8.go#L46: return Int8{Int64: int64(f.Float64), Valid: f.Valid}, nil
float8.go#L283: return s.ScanInt64(Int8{})
float8.go#L297: return s.ScanInt64(Int8{Int64: i64, Valid: true})
int.go#L17: ScanInt64(Int8) error
int.go#L21: Int64Value() (Int8, error)
int.go#L30: func (dst *Int2) ScanInt64(n Int8) error {
int.go#L48: func (n Int2) Int64Value() (Int8, error) {
int.go#L49: return Int8{Int64: int64(n.Int16), Valid: n.Valid}, nil
int.go#L554: return s.ScanInt64(Int8{})
int.go#L563: return s.ScanInt64(Int8{Int64: n, Valid: true})
int.go#L593: func (dst *Int4) ScanInt64(n Int8) error {
int.go#L611: func (n Int4) Int64Value() (Int8, error) {
int.go#L612: return Int8{Int64: int64(n.Int32), Valid: n.Valid}, nil
int.go#L1128: return s.ScanInt64(Int8{})
int.go#L1137: return s.ScanInt64(Int8{Int64: n, Valid: true})
int.go#L1161: type Int8 struct {
int.go#L1167: func (dst *Int8) ScanInt64(n Int8) error {
int.go#L1169: *dst = Int8{}
int.go#L1179: *dst = Int8{Int64: int64(n.Int64), Valid: true}
int.go#L1185: func (n Int8) Int64Value() (Int8, error) {
int.go#L1186: return Int8{Int64: int64(n.Int64), Valid: n.Valid}, nil
int.go#L1190: func (dst *Int8) Scan(src any) error {
int.go#L1192: *dst = Int8{}
int.go#L1223: *dst = Int8{Int64: int64(n), Valid: true}
int.go#L1229: func (src Int8) Value() (driver.Value, error) {
int.go#L1237: func (src Int8) MarshalJSON() ([]byte, error) {
int.go#L1245: func (dst *Int8) UnmarshalJSON(b []byte) error {
int.go#L1253: *dst = Int8{}
int.go#L1255: *dst = Int8{Int64: *n, Valid: true}
int.go#L1724: return s.ScanInt64(Int8{})
int.go#L1733: return s.ScanInt64(Int8{Int64: n, Valid: true})
int.go#L1976: return s.ScanInt64(Int8{})
int.go#L1984: err = s.ScanInt64(Int8{Int64: n, Valid: true})
numeric.go#L102: func (n *Numeric) ScanInt64(v Int8) error {
numeric.go#L113: func (n Numeric) Int64Value() (Int8, error) {
numeric.go#L115: return Int8{}, nil
numeric.go#L120: return Int8{}, err
numeric.go#L124: return Int8{}, fmt.Errorf("cannot convert %v to int64", n)
numeric.go#L127: return Int8{Int64: bi.Int64(), Valid: true}, nil
numeric.go#L732: return scanner.ScanInt64(Int8{})
numeric.go#L751: return scanner.ScanInt64(Int8{Int64: bigInt.Int64(), Valid: true})
pgtype_default.go#L226: registerDefaultPgTypeVariants[Int8](defaultMap, "int8")
pgtype_default.go#L227: registerDefaultPgTypeVariants[Range[Int8]](defaultMap, "int8range")
pgtype_default.go#L228: registerDefaultPgTypeVariants[Multirange[Range[Int8]]](defaultMap, "int8multirange")