ObjectDB ObjectDB

where(restrictions) - JPA CriteriaQuery's method

Modify the query to restrict the query result according to the conjunction of the specified restriction predicates. Replaces the previously added restriction(s), if any. If no restrictions are specified, any previously added restrictions are simply removed. This method only overrides the return type of the corresponding AbstractQuery method.
restrictions - zero or more restriction predicates
the modified query
JPA 2.0