Browse Source

fix(nocodb): orWhere -> whereNot

pull/4969/head
Wing-Kam Wong 2 years ago
parent
commit
103719d4dc
  1. 2
      packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/conditionV2.ts

2
packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/conditionV2.ts

@ -574,7 +574,7 @@ const parseConditionV2 = async (
} else {
qb = qb.whereNotNull(customWhereClause || field);
if (!isNumericCol(column.uidt)) {
qb = qb.orWhere(field, '');
qb = qb.whereNot(field, '');
}
}
break;

Loading…
Cancel
Save