dpq2.conv.to_d_types

Undocumented in source.

Members

Aliases

PGbigint
alias PGbigint = long
Undocumented in source.
PGboolean
alias PGboolean = bool
Undocumented in source.
PGbytea
alias PGbytea = ubyte[]
Undocumented in source.
PGdate
alias PGdate = Date
Undocumented in source.
PGdouble_precision
alias PGdouble_precision = double
Undocumented in source.
PGinteger
alias PGinteger = int
Undocumented in source.
PGjson
alias PGjson = Json
Undocumented in source.
PGnumeric
alias PGnumeric = string
Undocumented in source.
PGreal
alias PGreal = float
Undocumented in source.
PGsmallint
alias PGsmallint = short
Undocumented in source.
PGtext
alias PGtext = string
Undocumented in source.
PGtime_without_time_zone
alias PGtime_without_time_zone = TimeOfDay
Undocumented in source.
PGtimestamp
alias PGtimestamp = TimeStamp
Undocumented in source.
PGtimestamptz
alias PGtimestamptz = TimeStampUTC
Undocumented in source.
PGuuid
alias PGuuid = UUID
Undocumented in source.

Functions

_integration_test
void _integration_test(string connParam)
Undocumented in source. Be warned that the author may not have intended to support it.
as
string as(Value v)

Returns cell value as native string type from text or binary formatted field

as
T as(Value v)

Returns value as D type value from binary formatted field

binaryValueAs
T binaryValueAs(Value v)

Returns value as bytes from binary formatted field

binaryValueAs
T binaryValueAs(Value v)

Returns cell value as native integer or decimal values

binaryValueAs
bool binaryValueAs(Value v)

Returns boolean as native bool value

binaryValueAs
UUID binaryValueAs(Value v)

Returns UUID as native UUID value

binaryValueAs
Json binaryValueAs(Value v)

Returns Vibe.d's Json

throwTypeComplaint
void throwTypeComplaint(OidType receivedType, string expectedType, string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
valueAsString
string valueAsString(Value v)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta