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#L30: func (f *Float4) ScanInt64(n Int8) error {
float4.go#L36: func (f Float4) Int64Value() (Int8, error) {
float4.go#L37: return Int8{Int64: int64(f.Float32), Valid: f.Valid}, nil
float4.go#L246: return s.ScanInt64(Int8{})
float4.go#L261: return s.ScanInt64(Int8{Int64: i64, Valid: true})
float8.go#L38: func (f *Float8) ScanInt64(n Int8) error {
float8.go#L44: func (f Float8) Int64Value() (Int8, error) {
float8.go#L45: return Int8{Int64: int64(f.Float64), Valid: f.Valid}, nil
float8.go#L284: return s.ScanInt64(Int8{})
float8.go#L299: return s.ScanInt64(Int8{Int64: i64, Valid: true})
int.go#L16: ScanInt64(Int8) error
int.go#L20: Int64Value() (Int8, error)
int.go#L29: func (dst *Int2) ScanInt64(n Int8) error {
int.go#L47: func (n Int2) Int64Value() (Int8, error) {
int.go#L48: return Int8{Int64: int64(n.Int16), Valid: n.Valid}, nil
int.go#L563: return s.ScanInt64(Int8{})
int.go#L573: return s.ScanInt64(Int8{Int64: n, Valid: true})
int.go#L604: func (dst *Int4) ScanInt64(n Int8) error {
int.go#L622: func (n Int4) Int64Value() (Int8, error) {
int.go#L623: return Int8{Int64: int64(n.Int32), Valid: n.Valid}, nil
int.go#L1149: return s.ScanInt64(Int8{})
int.go#L1159: return s.ScanInt64(Int8{Int64: n, Valid: true})
int.go#L1184: type Int8 struct {
int.go#L1190: func (dst *Int8) ScanInt64(n Int8) error {
int.go#L1192: *dst = Int8{}
int.go#L1202: *dst = Int8{Int64: int64(n.Int64), Valid: true}
int.go#L1208: func (n Int8) Int64Value() (Int8, error) {
int.go#L1209: return Int8{Int64: int64(n.Int64), Valid: n.Valid}, nil
int.go#L1213: func (dst *Int8) Scan(src any) error {
int.go#L1215: *dst = Int8{}
int.go#L1246: *dst = Int8{Int64: int64(n), Valid: true}
int.go#L1252: func (src Int8) Value() (driver.Value, error) {
int.go#L1260: func (src Int8) MarshalJSON() ([]byte, error) {
int.go#L1268: func (dst *Int8) UnmarshalJSON(b []byte) error {
int.go#L1276: *dst = Int8{}
int.go#L1278: *dst = Int8{Int64: *n, Valid: true}
int.go#L1757: return s.ScanInt64(Int8{})
int.go#L1767: return s.ScanInt64(Int8{Int64: n, Valid: true})
int.go#L2011: return s.ScanInt64(Int8{})
int.go#L2019: err = s.ScanInt64(Int8{Int64: n, Valid: true})
numeric.go#L111: func (n *Numeric) ScanInt64(v Int8) error {
numeric.go#L122: func (n Numeric) Int64Value() (Int8, error) {
numeric.go#L124: return Int8{}, nil
numeric.go#L129: return Int8{}, err
numeric.go#L133: return Int8{}, fmt.Errorf("cannot convert %v to int64", n)
numeric.go#L136: return Int8{Int64: bi.Int64(), Valid: true}, nil
numeric.go#L811: return scanner.ScanInt64(Int8{})
numeric.go#L830: return scanner.ScanInt64(Int8{Int64: bigInt.Int64(), Valid: true})
pgtype_default.go#L228: registerDefaultPgTypeVariants[Int8](defaultMap, "int8")
pgtype_default.go#L229: registerDefaultPgTypeVariants[Range[Int8]](defaultMap, "int8range")
pgtype_default.go#L230: registerDefaultPgTypeVariants[Multirange[Range[Int8]]](defaultMap, "int8multirange")