From 6bb09f35c2cb25c2a57f0a1d54f3ddadb182f884 Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Fri, 8 Dec 2023 12:14:33 +0000 Subject: [PATCH] chore(nocodb): update spacing --- packages/nocodb/src/db/conditionV2.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nocodb/src/db/conditionV2.ts b/packages/nocodb/src/db/conditionV2.ts index 5a990ab1b6..a7889e8beb 100644 --- a/packages/nocodb/src/db/conditionV2.ts +++ b/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]));