Browse Source

fix: countall

pull/7019/head
Pranav C 12 months ago
parent
commit
145d809171
  1. 2
      packages/nocodb/src/db/functionMappings/commonFns.ts

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

@ -188,7 +188,7 @@ export default {
// todo: verify the behaviour of this function
COUNTALL: async ({ knex, pt }: MapFnArgs) => {
return {
builder: knex.raw('? ${colAlias}', [pt.arguments.length]),
builder: knex.raw(`? ${colAlias}`, [pt.arguments.length]),
};
},
ROUNDDOWN: async ({ fn, knex, pt, colAlias }: MapFnArgs) => {

Loading…
Cancel
Save