dpq.serialisation

Members

Functions

fromBytes
T fromBytes(const(ubyte)[] bytes, size_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
fromBytes
Nullable!T fromBytes(const(ubyte)[] bytes, size_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
fromBytesImpl
T fromBytesImpl(const(ubyte)[] bytes, size_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
isAnyNull
bool isAnyNull(T val)
oidFor
Oid oidFor()

Shortuct to the type's serialiser's oidForType

serialiser
SerialiserAttribute!T serialiser()
Undocumented in source. Be warned that the author may not have intended to support it.
toBytes
Nullable!(ubyte[]) toBytes(T val)

Converts the given type to an ubyte[], as PostgreSQL expects it. Ignores any Nullable specifiers and Typedefs.

Structs

SerialiserAttribute
struct SerialiserAttribute(alias T)

Templates

SerialiserFor
template SerialiserFor(T)
Undocumented in source.
SerialiserFor
template SerialiserFor(alias T)
Undocumented in source.
typeOid
deprecated template typeOid(T)
Undocumented in source.

Meta