From f2e6a02195cbd22d0caa07f4eb729f743003773c Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 22 Nov 2023 07:17:54 +0000 Subject: [PATCH] feat: add blank method support --- packages/nocodb/src/db/functionMappings/commonFns.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/nocodb/src/db/functionMappings/commonFns.ts b/packages/nocodb/src/db/functionMappings/commonFns.ts index dfebf64743..006a899bae 100644 --- a/packages/nocodb/src/db/functionMappings/commonFns.ts +++ b/packages/nocodb/src/db/functionMappings/commonFns.ts @@ -112,4 +112,8 @@ export default { builder: (await args.fn(args.pt?.arguments?.[0])).builder.wrap('(', ')'), }; }, + + BLANK: async (args: MapFnArgs) => { + return { builder: args.knex.raw(`?`, ['']) }; + }, };