type database/sql/driver.Value
101 uses
database/sql/driver (current package)
driver.go#L63: type Value any
driver.go#L77: Value Value
driver.go#L187: Exec(query string, args []Value) (Result, error)
driver.go#L214: Query(query string, args []Value) (Rows, error)
driver.go#L356: Exec(args []Value) (Result, error)
driver.go#L362: Query(args []Value) (Rows, error)
driver.go#L444: Next(dest []Value) error
types.go#L33: ConvertValue(v any) (Value, error)
types.go#L47: Value() (Value, error)
types.go#L68: func (boolType) ConvertValue(src any) (Value, error) {
types.go#L113: func (int32Type) ConvertValue(v any) (Value, error) {
types.go#L146: func (stringType) ConvertValue(v any) (Value, error) {
types.go#L160: func (n Null) ConvertValue(v any) (Value, error) {
types.go#L173: func (n NotNull) ConvertValue(v any) (Value, error) {
types.go#L233: func callValuerValue(vr Valuer) (v Value, err error) {
types.go#L242: func (defaultConverter) ConvertValue(v any) (Value, error) {
database/sql
convert.go#L237: func ConvertAssign(scanCtx driver.ScanContext, dest any, src driver.Value) error {
convert.go#L612: func callValuerValue(vr driver.Valuer) (v driver.Value, err error) {
ctxutil.go#L137: func namedValueToValue(named []driver.NamedValue) ([]driver.Value, error) {
ctxutil.go#L138: dargs := make([]driver.Value, len(named))
sql.go#L209: func (ns NullString) Value() (driver.Value, error) {
sql.go#L236: func (n NullInt64) Value() (driver.Value, error) {
sql.go#L263: func (n NullInt32) Value() (driver.Value, error) {
sql.go#L290: func (n NullInt16) Value() (driver.Value, error) {
sql.go#L317: func (n NullByte) Value() (driver.Value, error) {
sql.go#L344: func (n NullFloat64) Value() (driver.Value, error) {
sql.go#L371: func (n NullBool) Value() (driver.Value, error) {
sql.go#L398: func (n NullTime) Value() (driver.Value, error) {
sql.go#L434: func (n Null[T]) Value() (driver.Value, error) {
sql.go#L2972: lastcols []driver.Value
sql.go#L3084: rs.lastcols = make([]driver.Value, rs.numCols)
github.com/jackc/pgx/v5/pgtype
array_codec.go#L390: func (c *ArrayCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
bits.go#L51: func (src Bits) Value() (driver.Value, error) {
bits.go#L144: func (c BitsCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
bool.go#L67: func (src Bool) Value() (driver.Value, error) {
bool.go#L227: func (c BoolCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
box.go#L52: func (src Box) Value() (driver.Value, error) {
box.go#L221: func (c BoxCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
bytea.go#L239: func (c ByteaCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
circle.go#L53: func (src Circle) Value() (driver.Value, error) {
circle.go#L143: func (c CircleCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
composite.go#L208: func (c *CompositeCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
date.go#L62: func (src Date) Value() (driver.Value, error) {
date.go#L277: func (c DateCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
enum_codec.go#L55: func (c *EnumCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
float4.go#L64: func (f Float4) Value() (driver.Value, error) {
float4.go#L302: func (c Float4Codec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
float8.go#L72: func (f Float8) Value() (driver.Value, error) {
float8.go#L357: func (c Float8Codec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
hstore.go#L50: func (h Hstore) Value() (driver.Value, error) {
hstore.go#L246: func (c HstoreCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
inet.go#L124: func (c InetCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
int.go#L91: func (src Int2) Value() (driver.Value, error) {
int.go#L272: func (c Int2Codec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
int.go#L666: func (src Int4) Value() (driver.Value, error) {
int.go#L847: func (c Int4Codec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
int.go#L1252: func (src Int8) Value() (driver.Value, error) {
int.go#L1433: func (c Int8Codec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
interval.go#L61: func (interval Interval) Value() (driver.Value, error) {
interval.go#L290: func (c IntervalCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
json.go#L225: func (c *JSONCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
jsonb.go#L78: func (c *JSONBCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
line.go#L56: func (line Line) Value() (driver.Value, error) {
line.go#L209: func (c LineCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
lseg.go#L52: func (lseg Lseg) Value() (driver.Value, error) {
lseg.go#L221: func (c LsegCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
ltree.go#L124: func (l LtreeCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
macaddr.go#L147: func (c MacaddrCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
multirange.go#L305: func (c *MultirangeCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
numeric.go#L269: func (n Numeric) Value() (driver.Value, error) {
numeric.go#L883: func (c NumericCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
path.go#L53: func (path Path) Value() (driver.Value, error) {
path.go#L262: func (c PathCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
pgtype.go#L178: DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error)
pgtype.go#L1199: func codecDecodeToTextFormat(codec Codec, m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
point.go#L87: func (src Point) Value() (driver.Value, error) {
point.go#L197: func (c PointCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
polygon.go#L52: func (p Polygon) Value() (driver.Value, error) {
polygon.go#L244: func (c PolygonCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
qchar.go#L139: func (c QCharCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
range_codec.go#L364: func (c *RangeCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
record_codec.go#L75: func (RecordCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
text.go#L53: func (src Text) Value() (driver.Value, error) {
text.go#L170: func (c TextCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
tid.go#L63: func (src TID) Value() (driver.Value, error) {
tid.go#L231: func (c TIDCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
time.go#L62: func (t Time) Value() (driver.Value, error) {
time.go#L286: func (c TimeCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
timestamp.go#L62: func (ts Timestamp) Value() (driver.Value, error) {
timestamp.go#L317: func (c *TimestampCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
timestamptz.go#L67: func (tstz Timestamptz) Value() (driver.Value, error) {
timestamptz.go#L304: func (c *TimestamptzCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
tsvector.go#L63: func (t TSVector) Value() (driver.Value, error) {
tsvector.go#L317: func (c TSVectorCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
uint32.go#L73: func (src Uint32) Value() (driver.Value, error) {
uint32.go#L249: func (c Uint32Codec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
uint64.go#L68: func (src Uint64) Value() (driver.Value, error) {
uint64.go#L220: func (c Uint64Codec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
uuid.go#L92: func (src UUID) Value() (driver.Value, error) {
uuid.go#L266: func (c UUIDCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
xml.go#L174: func (c *XMLCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {