Replies: 1 comment 1 reply
-
This might work, but what you'd be saying to the formatter to treat I think a better way would be to use the paramTypes config to define a custom rule to recognize parameters like that. Something like:
Or alternatively you could supply the
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We're using the plsql formatter for parsing Pro*C SQL. It's proprietary to Oracle but it's basically PL/SQL with some minor C-based spiciness sprinkled on top. The plsql formatter handles 99% of our needs except for statements containing array-based bind variables:
The same error is not raised, however, using TSQL formatter. After comparing the two formatters we believe
identTypes
parameter in<dialect>.formatter.ts
might be the cause as plsql does not have'[]'
like tsql does .We have not yet tested this solution - are we at least on the right path?
Beta Was this translation helpful? Give feedback.
All reactions