objectify query filter by list in entity contains search parameter
in an app i have an entity that contains a list of other entities (let's say an event holding a list of assigned employees) using objectify - i need to find all the events a particular employee is assigned to. is there a basic way to filter a query if it contains the parameter - kind of the opposite of the query in ... quick pseudocode findAll(Employee employee) { ... return ofy.query(Event.class).filter("employees.contains", employee).list(); } any help would be greatly appreciated i tried just doing filter("employees", employee) after seeing this http://groups.google.com/group/objectify