nested condition

This commit is contained in:
Julian Krauser 2024-12-16 17:49:30 +01:00
parent 52a1f34162
commit a718f74d24

View file

@ -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) => {