Skip to content

Commit

Permalink
Update relalg.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaiola committed Apr 11, 2024
1 parent 652625f commit 2c81544
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/db/relalg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ const pegParserSql = require('./parser/grammar_sql.pegjs') as any;
export function parseSQLSelect(text: string): sqlAst.rootSql {

return pegParserSql.parse(
text,
// Remove any whitespace before '(' character
text.replace(/\s*\(/g, '('),
{
startRule: 'start',
tracer: undefined,
Expand Down

0 comments on commit 2c81544

Please sign in to comment.