We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
randomUUID()
1 parent b3380f4 commit 5d9acebCopy full SHA for 5d9aceb
src/core/database/query-augmentation/subquery.ts
@@ -69,4 +69,4 @@ class SubQueryClause extends SubClauseCollection {
69
export const varInExp = (variable: string | Variable) =>
70
variable.toString().startsWith('$')
71
? ''
72
- : /(?:.+\()?([^.]+)\.?.*/.exec(variable.toString())?.[1] ?? '';
+ : /(?:.+\()?\)?([^.]*)\.?.*/.exec(variable.toString())?.[1] ?? '';
0 commit comments