From 145d809171f44823f65efba1eba26074d486ecfa Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 22 Nov 2023 07:17:59 +0000 Subject: [PATCH] fix: countall --- packages/nocodb/src/db/functionMappings/commonFns.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/db/functionMappings/commonFns.ts b/packages/nocodb/src/db/functionMappings/commonFns.ts index 36d6389501..9af91bcffb 100644 --- a/packages/nocodb/src/db/functionMappings/commonFns.ts +++ b/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) => {