[odb-users] Raw SQL statement

Adnan RIHAN axel50397 at gmail.com
Fri Dec 12 05:02:58 EST 2014


Hi Boris,

Perfect solution, thank you :)
On 11 décembre 2014 at 13:37:07, Boris Kolpackov (boris at codesynthesis.com) wrote:

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  
-- 
Cordialement, Adnan RIHAN.
Directeur-Gérant de Eolis-Software, société de services informatiques.

GPG: 5675-62BA (https://keybase.io/max13/key.asc)
-> Si vous n'utilisez pas GPG mais souhaitez quand même m’envoyer un e-mail chiffré: (https://encrypt.to/0x567562BA).


More information about the odb-users mailing list