From 9408cb9b6280d9a2c8e45a36946a929617949193 Mon Sep 17 00:00:00 2001 From: Dev K0te Date: Fri, 7 Jun 2024 16:14:49 +0300 Subject: [PATCH] feat(query-compiler): add within group processing to default query compiler #781 --- src/query-compiler/default-query-compiler.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/query-compiler/default-query-compiler.ts b/src/query-compiler/default-query-compiler.ts index ff396ac54..f69fc0684 100644 --- a/src/query-compiler/default-query-compiler.ts +++ b/src/query-compiler/default-query-compiler.ts @@ -1366,6 +1366,12 @@ export class DefaultQueryCompiler this.append(')') + if (node.withinGroup) { + this.append(' within group (') + this.visitNode(node.withinGroup) + this.append(')') + } + if (node.filter) { this.append(' filter(') this.visitNode(node.filter)