ObjectDB ObjectDB

where(restriction) - JPA AbstractQuery's method

Modify the query to restrict the query results according to the specified boolean expression. Replaces the previously added restriction(s), if any.
Parameters:
restriction - a simple or compound boolean expression
Returns:
the modified query
Since:
JPA 2.0