[odb-users] Mapping new types
Boris Kolpackov
boris at codesynthesis.com
Sun Feb 14 23:31:14 EST 2016
Hi Soroush,
Soroush Rabiei <soroush.rabiei at gmail.com> writes:
> Now I need to map `std::chrono::high_resolution_clock::time_point' into
> oracle's `TIMESTAMP' object. Though I can't find any starting point. I
> know the binary structure of oracle's `TIMESTAMP' object (13 bytes).
You don't need the binary representation of Oracle TIMESTAMP since ODB
binds it via a descriptor that is wrapped as odb::oracle::datetime in
<odb/oracle/oracle-types.hxx>. See how the Boost profile maps posix_time.
Boris
More information about the odb-users
mailing list