diff --git a/src/helpers/dynamicQueryBuilder.ts b/src/helpers/dynamicQueryBuilder.ts index 43d44c5..6bab2dc 100644 --- a/src/helpers/dynamicQueryBuilder.ts +++ b/src/helpers/dynamicQueryBuilder.ts @@ -121,7 +121,7 @@ export default abstract class DynamicQueryBuilder { query.orWhere(whereClause.query, whereClause.parameters); } } else { - if (condition.concat == "AND") { + if (condition.concat == "_" || condition.concat == "AND") { query.andWhere( condition.invert == undefined || condition.invert == true ? new Brackets((qb) => {