You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The below code generates the query as 'SELECT department.* FROM department' ; instead of 'SELECT department.* FROM department WHERE NOT (department.department_id = 1 AND department.department_id = 2)'
However if I remove the not() condition, the query renders fine as 'SELECT department.* FROM department WHERE (department.department_id = 1 AND department.department_id = 2)'
Introduce prefix operator to express queries as Conditions.not(…) as alternative to myCondition.not() (suffix operator) for easier readability.
Reformat code, update copyright years.
See #1653
Original pull request: #1659
Introduce prefix operator to express queries as Conditions.not(…) as alternative to myCondition.not() (suffix operator) for easier readability.
Reformat code, update copyright years.
See #1653
Original pull request: #1659
The below code generates the query as 'SELECT department.* FROM department' ; instead of 'SELECT department.* FROM department WHERE NOT (department.department_id = 1 AND department.department_id = 2)'
The where clause is being ignored
However if I remove the not() condition, the query renders fine as 'SELECT department.* FROM department WHERE (department.department_id = 1 AND department.department_id = 2)'
The text was updated successfully, but these errors were encountered: