From 3bafde29ed6acf8e9a8d4351ac3cc1aae4bd21dd Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Wed, 19 Apr 2023 16:45:35 +0800 Subject: [PATCH] chore(nocodb): update comment --- .../nocodb/src/lib/db/sql-data-mapper/lib/sql/conditionV2.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/conditionV2.ts b/packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/conditionV2.ts index 04d5eb1337..08435dd0bd 100644 --- a/packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/conditionV2.ts +++ b/packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/conditionV2.ts @@ -406,7 +406,7 @@ const parseConditionV2 = async ( switch (filter.comparison_op) { case 'eq': if (column.uidt === UITypes.DateTime) { - // for filter `is + exactDate`, we only match the date only + // for filter with input (exactDate), we only match the date qb = qb.whereRaw( `${convertDateFormatByType( field, @@ -446,7 +446,7 @@ const parseConditionV2 = async ( case 'neq': case 'not': if (column.uidt === UITypes.DateTime) { - // for filter `is + exactDate`, we only match the date only + // for filter with input (exactDate), we only match the date qb = qb.whereRaw( `${convertDateFormatByType( field,