PGTimeStamp

Wrapper around std.datetime.SysTime to handle deserializing of libpq timestamps (without time zone).

Note: libpq has two compile configuration with HAS_INT64_TIMESTAMP and without (double timestamp format). The pgator should be compiled with conform flag to operate properly.

Constructors

this
this(SysTime time)
Undocumented in source.
this
this(pg_tm tm, fsec_t ts)
Undocumented in source.

Alias This

time

Members

Functions

toBson
Bson toBson()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

fromBson
PGTimeStamp fromBson(Bson bson)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta