nested condition
This commit is contained in:
parent
52a1f34162
commit
a718f74d24
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ export default abstract class DynamicQueryBuilder {
|
||||||
query.orWhere(whereClause.query, whereClause.parameters);
|
query.orWhere(whereClause.query, whereClause.parameters);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (condition.concat == "AND") {
|
if (condition.concat == "_" || condition.concat == "AND") {
|
||||||
query.andWhere(
|
query.andWhere(
|
||||||
condition.invert == undefined || condition.invert == true
|
condition.invert == undefined || condition.invert == true
|
||||||
? new Brackets((qb) => {
|
? new Brackets((qb) => {
|
||||||
|
|
Loading…
Reference in a new issue