Commit 6428b87
committed
feat(pgsql-deparser): add pretty-printing for INSERT VALUES and ON CONFLICT SET
- VALUES tuple items: put each value on its own line when isPretty()
- ON CONFLICT DO UPDATE SET: put each assignment on its own line when isPretty()
This enables proper multi-line formatting for INSERT statements with
VALUES lists and ON CONFLICT clauses when pretty mode is enabled.1 parent 1278b39 commit 6428b87
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
566 | | - | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
567 | 569 | | |
568 | 570 | | |
569 | 571 | | |
| |||
1116 | 1118 | | |
1117 | 1119 | | |
1118 | 1120 | | |
1119 | | - | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
1120 | 1128 | | |
1121 | 1129 | | |
1122 | 1130 | | |
| |||
0 commit comments