Browse Source

fix: DATE value with if

pull/7268/head
Pranav C 1 year ago
parent
commit
82e8bcd523
  1. 3
      packages/nocodb/src/db/functionMappings/commonFns.ts

3
packages/nocodb/src/db/functionMappings/commonFns.ts

@ -51,6 +51,9 @@ export default {
case FormulaDataTypes.BOOLEAN:
cond = `(${condArg}) IS NOT NULL AND (${condArg}) != false`;
break;
case FormulaDataTypes.DATE:
cond = `(${condArg}) IS NOT NULL`;
break;
}
let query = args.knex

Loading…
Cancel
Save