Browse Source

fix: DATE value with if

pull/7268/head
Pranav C 11 months 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: case FormulaDataTypes.BOOLEAN:
cond = `(${condArg}) IS NOT NULL AND (${condArg}) != false`; cond = `(${condArg}) IS NOT NULL AND (${condArg}) != false`;
break; break;
case FormulaDataTypes.DATE:
cond = `(${condArg}) IS NOT NULL`;
break;
} }
let query = args.knex let query = args.knex

Loading…
Cancel
Save