Grails

Add sizeGt, sizeLt, sizeGe, sizeLe etc to criteria builder

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0.2
  • Fix Version/s: 1.1-beta1
  • Component/s: Persistence
  • Labels:
    None

Description

Currently Criteria builder offers sizeEq option for "sizeEqual" on an association.

Should also offer:

sizeGt - size greater than
sizeGe - size greater than or equal to
sizeLt - size less than
sizeLe - size less than or equal to

Possibly also

sizeNe - size not equal (can be done with NOT sizeEq but would be convenient

Plus any other variants. DISTINCT?

Activity

Hide
Graeme Rocher added a comment -

Reduced priority of non critical issues which have current workarounds

Show
Graeme Rocher added a comment - Reduced priority of non critical issues which have current workarounds

People

Vote (4)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: