Browse Source

fix(gui-v2): operator does not exist: double precision % integer

pull/3449/head
Wing-Kam Wong 2 years ago
parent
commit
6a7dd34cd5
  1. 2
      packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/functionMappings/pg.ts

2
packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/functionMappings/pg.ts

@ -54,7 +54,7 @@ const pg = {
: fn(pt.arguments[0])
}) - 1 - ${getWeekdayByText(
pt?.arguments[1]?.value
)} % 7 + 7) % 7 ${colAlias}`
)} % 7 + 7) ::INTEGER % 7 ${colAlias}`
);
},
};

Loading…
Cancel
Save