We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example: Criteria.where(column1).is(value1).and(column2).is(value2).or(column3).is(value3)
Criteria.where(column1).is(value1).and(column2).is(value2).or(column3).is(value3)
return SQL: where column1=value1 and column2=value2 or column3=value3
where column1=value1 and column2=value2 or column3=value3
Needed grouping Criteria: where column1=value1 and (column2=value2 or column3=value3)
where column1=value1 and (column2=value2 or column3=value3)
may be this way?: val orCriteria = Criteria.groupStep(column2).is(value2).or(column3).is(value3) Criteria.where(column1).is(value1).and(orCriteria)`
val orCriteria = Criteria.groupStep(column2).is(value2)
then OR and AND overloaded by CriteriaGroup type
The text was updated successfully, but these errors were encountered:
The issue is going to be addressed with #289 / #307.
Sorry, something went wrong.
No branches or pull requests
For example:
Criteria.where(column1).is(value1).and(column2).is(value2).or(column3).is(value3)
return SQL:
where column1=value1 and column2=value2 or column3=value3
Needed grouping Criteria:
where column1=value1 and (column2=value2 or column3=value3)
may be this way?:
Criteria.where(column1).is(value1).and(orCriteria)`
val orCriteria = Criteria.groupStep(column2).is(value2)
.or(column3).is(value3)then OR and AND overloaded by CriteriaGroup type
The text was updated successfully, but these errors were encountered: