Torque
  1. Torque
  2. TORQUE-176

Avoid additional brackets in sql if many same operators are chained

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-beta1
    • Component/s: None
    • Labels:
      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)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Thomas Fox
            Reporter:
            Thomas Fox
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development