dpq2.conv.from_d_types

Members

Functions

toValue
Value toValue(T v)

Converts Nullable!T to Value

toValue
Value toValue(T v)
toValue
Value toValue(T v, ValueFormat valueFormat = ValueFormat.BINARY)

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.

toValue
Value toValue(T v)

Constructs Value from array of bytes

toValue
Value toValue(T v)
toValue
Value toValue(T v)

Constructs Value from Date

toValue
Value toValue(T v)

Constructs Value from TimeOfDay

toValue
Value toValue(T v)

Constructs Value from TimeStamp or from TimeStampUTC

toValue
Value toValue(T v)

Constructs Value from DateTime It uses Timestamp without TZ as a resulting PG type

toValue
Value toValue(T v)

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.

toValue
Value toValue(T v)

Constructs Value from UUID

toValue
Value toValue(T v)

Constructs Value from Json

Meta