From 2158490d9fa6315b9c5c4497f33ac4c6c6e2f3e8 Mon Sep 17 00:00:00 2001 From: Tam Nguyen Date: Thu, 28 Nov 2024 17:20:03 +1100 Subject: [PATCH] fix: make wrapWhereClauseInParenthesis private --- src/modules/components/common_components/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/components/common_components/common.ts b/src/modules/components/common_components/common.ts index 625dd4eb..92b20dbd 100644 --- a/src/modules/components/common_components/common.ts +++ b/src/modules/components/common_components/common.ts @@ -1860,7 +1860,7 @@ export class Common { return new Promise(resolve => setTimeout(resolve, time)); } - static wrapWhereClauseInParenthesis(clause: WhereClause): { beginClause: WhereClause, endClause: WhereClause } { + private static wrapWhereClauseInParenthesis(clause: WhereClause): { beginClause: WhereClause, endClause: WhereClause } { const clone = JSON.parse(JSON.stringify(clause)) as WhereClause; clone.left.openParen = (clone.left.openParen ?? 0) + 1 let current = clone;