Uploaded image for project: 'Torque'
  1. Torque
  2. TORQUE-176

Avoid additional brackets in sql if many same operators are chained

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-beta1
    • None
    • None

    Description

      Currently, if I have
      criterion.and(condition1).and(condition2).and(condition3)
      the sql output will look like
      ((condition1 and condition2) and condition3)

      Instead the sql output should look like
      (condition1 and condition2 and condition3)

      Attachments

        Activity

          People

            tfischer Thomas Fox
            tfischer Thomas Fox
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: