Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: oguimbal/pgsql-ast-parser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 10.5.1
Choose a base ref
...
head repository: oguimbal/pgsql-ast-parser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 10.5.2
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Jun 20, 2022

  1. fix

    oguimbal committed Jun 20, 2022
    Copy the full SHA
    913386e View commit details
  2. Copy the full SHA
    1602a2c View commit details
Showing with 3 additions and 3 deletions.
  1. +1 −1 .deno/syntax/main.ne.ts
  2. +1 −1 package.json
  3. +1 −1 src/syntax/select.ne
2 changes: 1 addition & 1 deletion .deno/syntax/main.ne.ts
Original file line number Diff line number Diff line change
@@ -880,7 +880,7 @@ const grammar: Grammar = {

return track(x, {
...x[0],
withOrdinality: withOrdinality ? true : undefined,
... withOrdinality && { withOrdinality: true },
alias: alias ? asNameWithColumns(alias[0], alias[1]) : undefined,
});
} },
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pgsql-ast-parser",
"version": "10.5.1",
"version": "10.5.2",
"description": "Yet another simple Postgres SQL parser/modifier",
"main": "index.js",
"repository": "https://github.com/oguimbal/pgsql-ast-parser",
2 changes: 1 addition & 1 deletion src/syntax/select.ne
Original file line number Diff line number Diff line change
@@ -96,7 +96,7 @@ stb_call -> expr_function_call kw_withordinality:? stb_call_alias:? {% x => {

return track(x, {
...x[0],
withOrdinality: withOrdinality ? true : undefined,
... withOrdinality && { withOrdinality: true },
alias: alias ? asNameWithColumns(alias[0], alias[1]) : undefined,
});
} %}