Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1-beta1
-
Component/s: None
-
Labels:None
Description
Adding an AnyOf constraint would allow you to perform "OR" queries where a column should have one of a range of values.
Example
def groovyAuthorBooks = Book.findByBookAnyOf(['Dierk Koenig', 'Graeme Rocher'])
This saves the user having to fall back to criteria or() clauses.
Ok but for consistency it should be
since that is what it is in criteria