[odb-users] access cached instances of a certain type?

Christian Sell christian at gsvitec.com
Fri Sep 25 06:58:30 EDT 2015


> My currently remaining problem is: how do I obtain a key from an object?
 
ok, got it. It's in the generated code, obviously:
 
::odb::access::object_traits<MyType>::id(myobj)
 
thanks,
Chris


More information about the odb-users mailing list