[odb-users] Raw SQL statement

Boris Kolpackov boris at codesynthesis.com
Thu Dec 11 07:28:34 EST 2014


Hi Adnan,

Adnan RIHAN <axel50397 at gmail.com> writes:

> The SQL query is there to know what would be the “query” if I had to
> write it. Is it possible for ODB, when querying a Warehouse, to
> automatically set the “m_lastStock”?

You can make m_lastStock transient and then load it from the
database operation callback (e.g., post_load) with a custom
query.

Boris



More information about the odb-users mailing list