Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.0.1
-
Fix Version/s: 2.3-M2
-
Component/s: Persistence
-
Labels:None
Description
It would be great if find methods accepted a range when using the between clause, not just only two parameters.
Ranges are used in other parts of Grails to represent these kind of constraints.
def now = new Date()
Book.findAllByPublishedDateBetween( now -7, now )
Book.findAllByPublishedDateBetween( [(now -7)..now] )
There is no scope / time to resolve these remaining lower priority issues for 1.2 so moving to 1.3
for 1.2 final only issues considered blocking will now be fixed