Open
Description
Input data
Which SQL and options did you provide as input?
grant select on t to r;
grant select, insert, update, delete on t to r;
Expected Output
grant select on t to r;
grant select, insert, update, delete on t to r;
Actual Output
grant
select
on t to r;
grant
select
,
insert,
update,
delete on t to r;
Usage
- How are you calling / using the library?
npx sql-formatter -l postgresql file.sql
- What SQL language(s) does this apply to?
postgres
- Which SQL Formatter version are you using?
12.2.0