[odb-users] Using container members as predicates

Boris Kolpackov boris at codesynthesis.com
Tue Feb 25 08:56:04 EST 2014


Hi Alan,

Alan Meekins <alan.meekins at gmail.com> writes:

> I would like to do a query similar to:
> 
> result<User> users_with_link = db.query<User>(
>   query<User>::url_list.contains("http://awesometastic.uri/blah") );
> 
> Is using container members as predicates still not a directly supported
> scenario? Native queries still the best way to do this?

Yes, I am afraid so. Here is the latest thread on this topic:

http://www.codesynthesis.com/pipermail/odb-users/2014-January/001696.html

We will most likely try to support this feature in some form in the
next release of ODB.

Boris



More information about the odb-users mailing list