PGInterval

Wrapper around std.datetime.Interval to handle deserializing acceptable for JSON-RPC and still conform with libpq format.

Note: libpq representation of abstime slightly different from std.datetime, thats why time converted to string could differ a lot for PostgreSQL and SysTime (about 9000-15000 seconds nonconstant offset).

Constructors

this
this(Interval!SysTime val)
Undocumented in source.

Alias This

interval

Members

Functions

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

Static functions

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

Meta