toValue - multiple declarations
Function toValue
Converts Nullable!T to Value
Function toValue
Function toValue
Convert money.currency to PG value
Caution
here is no check of fractional precision while conversion! See also: PostgreSQL's "lc_monetary" description and "money" package description
Function toValue
Convert std.bitmanip.BitArray to PG value
Function toValue
Converts types implicitly convertible to string to PG Value. Note that if string is null it is written as an empty string. If NULL is a desired DB value, Nullable!string can be used instead.
Value toValue(T)
(
T v,
ValueFormat valueFormat = ValueFormat .BINARY
) @trusted
if (isSomeString!T || isStaticArrayString!T);
Function toValue
Constructs Value from array of bytes
Function toValue
Constructs Value from boolean
Function toValue
Constructs Value from Date
Function toValue
Constructs Value from TimeOfDay
Function toValue
Constructs Value from Interval
Function toValue
Constructs Value from TimeStamp or from TimeStampUTC
Function toValue
Constructs Value from DateTime It uses Timestamp without TZ as a resulting PG type
Function toValue
Constructs Value from SysTime Note that SysTime has a precision in hnsecs and PG TimeStamp in usecs. It means that PG value will have 10 times lower precision. And as both types are using long for internal storage it also means that PG TimeStamp can store greater range of values than SysTime.
Function toValue
Constructs Value from UUID
Function toValue
Constructs Value from Json