type database/sql/driver.Value
100 uses
database/sql/driver (current package)
driver.go#L62: type Value any
driver.go#L76: Value Value
driver.go#L186: Exec(query string, args []Value) (Result, error)
driver.go#L213: Query(query string, args []Value) (Rows, error)
driver.go#L355: Exec(args []Value) (Result, error)
driver.go#L361: Query(args []Value) (Rows, error)
driver.go#L443: Next(dest []Value) error
types.go#L32: ConvertValue(v any) (Value, error)
types.go#L46: Value() (Value, error)
types.go#L67: func (boolType) ConvertValue(src any) (Value, error) {
types.go#L112: func (int32Type) ConvertValue(v any) (Value, error) {
types.go#L145: func (stringType) ConvertValue(v any) (Value, error) {
types.go#L159: func (n Null) ConvertValue(v any) (Value, error) {
types.go#L172: func (n NotNull) ConvertValue(v any) (Value, error) {
types.go#L232: func callValuerValue(vr Valuer) (v Value, err error) {
types.go#L241: func (defaultConverter) ConvertValue(v any) (Value, error) {
database/sql
convert.go#L553: 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#L210: func (ns NullString) Value() (driver.Value, error) {
sql.go#L236: func (n NullInt64) Value() (driver.Value, error) {
sql.go#L262: func (n NullInt32) Value() (driver.Value, error) {
sql.go#L289: func (n NullInt16) Value() (driver.Value, error) {
sql.go#L316: func (n NullByte) Value() (driver.Value, error) {
sql.go#L342: func (n NullFloat64) Value() (driver.Value, error) {
sql.go#L368: func (n NullBool) Value() (driver.Value, error) {
sql.go#L394: func (n NullTime) Value() (driver.Value, error) {
sql.go#L429: func (n Null[T]) Value() (driver.Value, error) {
sql.go#L2964: lastcols []driver.Value
sql.go#L3063: rs.lastcols = make([]driver.Value, len(rs.rowsi.Columns()))
github.com/jackc/pgx/v5/pgtype
array_codec.go#L357: func (c *ArrayCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
bits.go#L53: func (src Bits) Value() (driver.Value, error) {
bits.go#L148: 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#L54: func (src Box) Value() (driver.Value, error) {
box.go#L224: 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#L55: func (src Circle) Value() (driver.Value, error) {
circle.go#L147: func (c CircleCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
composite.go#L207: func (c *CompositeCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
date.go#L63: func (src Date) Value() (driver.Value, error) {
date.go#L380: 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#L65: func (f Float4) Value() (driver.Value, error) {
float4.go#L299: func (c Float4Codec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
float8.go#L73: func (f Float8) Value() (driver.Value, error) {
float8.go#L354: func (c Float8Codec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
hstore.go#L52: func (h Hstore) Value() (driver.Value, error) {
hstore.go#L264: func (c HstoreCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
inet.go#L126: func (c InetCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
int.go#L92: func (src Int2) Value() (driver.Value, error) {
int.go#L273: func (c Int2Codec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
int.go#L655: func (src Int4) Value() (driver.Value, error) {
int.go#L836: func (c Int4Codec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
int.go#L1229: func (src Int8) Value() (driver.Value, error) {
int.go#L1410: func (c Int8Codec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
interval.go#L63: func (interval Interval) Value() (driver.Value, error) {
interval.go#L285: 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#L58: func (line Line) Value() (driver.Value, error) {
line.go#L211: func (c LineCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
lseg.go#L54: func (lseg Lseg) Value() (driver.Value, error) {
lseg.go#L224: func (c LsegCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
ltree.go#L115: 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#L311: func (c *MultirangeCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
numeric.go#L227: func (n Numeric) Value() (driver.Value, error) {
numeric.go#L803: func (c NumericCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
path.go#L55: func (path Path) Value() (driver.Value, error) {
path.go#L258: func (c PathCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
pgtype.go#L176: DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error)
pgtype.go#L1176: func codecDecodeToTextFormat(codec Codec, m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
point.go#L89: func (src Point) Value() (driver.Value, error) {
point.go#L201: func (c PointCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
polygon.go#L54: func (p Polygon) Value() (driver.Value, error) {
polygon.go#L239: func (c PolygonCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
qchar.go#L117: func (c QCharCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
range_codec.go#L354: func (c *RangeCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
record_codec.go#L73: 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#L65: func (src TID) Value() (driver.Value, error) {
tid.go#L227: func (c TIDCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
time.go#L64: func (t Time) Value() (driver.Value, error) {
time.go#L260: func (c TimeCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
timestamp.go#L64: func (ts Timestamp) Value() (driver.Value, error) {
timestamp.go#L336: func (c *TimestampCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
timestamptz.go#L71: func (tstz Timestamptz) Value() (driver.Value, error) {
timestamptz.go#L337: func (c *TimestamptzCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
tsvector.go#L66: func (t TSVector) Value() (driver.Value, error) {
tsvector.go#L331: func (c TSVectorCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
uint32.go#L74: func (src Uint32) Value() (driver.Value, error) {
uint32.go#L250: func (c Uint32Codec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
uint64.go#L69: func (src Uint64) Value() (driver.Value, error) {
uint64.go#L221: func (c Uint64Codec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
uuid.go#L93: func (src UUID) Value() (driver.Value, error) {
uuid.go#L268: func (c UUIDCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
xml.go#L180: func (c *XMLCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {