Browse Source

chore(nocodb): update comment

pull/5498/head
Wing-Kam Wong 1 year ago
parent
commit
3bafde29ed
  1. 4
      packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/conditionV2.ts

4
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,

Loading…
Cancel
Save