Grails
  1. Grails
  2. GRAILS-8354

Add whereAny or equivalent that defaults to OR

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-RC1
    • Fix Version/s: 2.0-RC2
    • Component/s: None
    • Labels:
      None

      Description

      Currently, multiple statements are implicitly ANDed in where criteria. It would be nice to have an option that implicitly ORed them instead. This could either be a new method, such as whereAny() or an argument such as where(and: false) {}.

        Activity

        Show
        Graeme Rocher added a comment - Done https://github.com/SpringSource/grails-data-mapping/commit/1a7564ac610105631b16a11cef02cd69c561e1ae

          People

          • Assignee:
            Graeme Rocher
            Reporter:
            Peter Ledbrook
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development