Browse Source

fix: use DATETIME function for getting current date time value in SQLite

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/7306/head
Pranav C 10 months ago
parent
commit
953542250b
  1. 2
      packages/nocodb/src/db/functionMappings/sqlite.ts

2
packages/nocodb/src/db/functionMappings/sqlite.ts

@ -45,7 +45,7 @@ const sqlite3 = {
), ),
}; };
}, },
NOW: 'DATE', NOW: 'DATETIME',
SEARCH: 'INSTR', SEARCH: 'INSTR',
async INT(args: MapFnArgs) { async INT(args: MapFnArgs) {
return { return {

Loading…
Cancel
Save