zing...@gmail.com
unread,May 10, 2013, 4:23:29 AM5/10/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mor...@googlegroups.com
Hi,
I have an collection in which I store all versions to have an history.
But when I do an query on this collection, I want only to get the latest version. So I need something like
Query< Item > query = ds.createQuery( Item.class );
query.filter( "attribute.to.find", "value" );
query.field( "VERSION" ).MAX_OF_THIS_FIELD
how can I achieve this?