Browse Source

chore(nocodb): update spacing

pull/7189/head
DarkPhoenix2704 1 year ago
parent
commit
a75f07c8fb
  1. 4
      packages/nocodb/src/db/conditionV2.ts

4
packages/nocodb/src/db/conditionV2.ts

@ -581,8 +581,8 @@ const parseConditionV2 = async (
qb = qb.where(knex.raw('BINARY ?? = ?', [field, val]));
}
} else {
if(column.uidt === UITypes.DateTime) {
if(qb.client.config.client === 'pg') {
if (column.uidt === UITypes.DateTime) {
if (qb.client.config.client === 'pg') {
qb = qb.where(knex.raw('??::date = ?', [field, val]));
} else {
qb = qb.where(knex.raw('DATE(??) = DATE(?)', [field, val]));

Loading…
Cancel
Save