[odb-users] access cached instances of a certain type?
Christian Sell
christian at gsvitec.com
Fri Sep 25 06:42:12 EDT 2015
> > I think would need a way to get all cached MyClass objects and check
> > by id whether the passed-in objects match or not... I did not find
> > such API on odb::session, so I thought I'd ask
>
> Did you see this?
I surely saw it when I inspected the session API, but was appalled by the
low-level nature. After having fumbled for an hour or two, I can confirm that
initial impression ;). At least I know that once I am done nobody will question
my indispensability..
My currently remaining problem is: how do I obtain a key from an object?
thanks,
Christian
More information about the odb-users
mailing list