Cppgres
Build Postgres extensions in C++
|
Static Public Member Functions | |
static R | from_nullable_datum (const nullable_datum &d, const oid oid, std::optional< memory_context > context=std::nullopt) |
Convert from a nullable datum. | |
static nullable_datum | into_nullable_datum (const T &d) |
Convert into a nullable datum. | |
|
inlinestatic |
Convert from a nullable datum.
Gets an optional cppgres::memory_context when available to be able to determine the source of the (pointer) datum.