[odb-users] Compilation error when using decimal(p, s) or bytea
types
Boris Kolpackov
boris at codesynthesis.com
Mon Mar 25 10:09:46 EDT 2019
Sam <lists1 at afach.de> writes:
> Can you please provide an example on how to write set_image correctly
> for decimal/numeric type from std::string in ASCII format, so that
> database table-viewers can interpret them correctly?
Take a look at some of the traits implementations in <odb/pgsql/traits.hxx>.
The underlying buffers are described in <odb/pgsql/pgsql-types.hxx>.
More information about the odb-users
mailing list