Improvement suggestion: Prettier formatting for JSONB_TO_RECORD #4602
Closed
simon-pactum
started this conversation in
General
Replies: 1 comment
-
thanks for the the issue, but it’s low priority for us. if you’re interested in this feel free to make a PR |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
When pretty formatting a query with
JSONB_TO_RECORD
the record definition gets put on one line,it would be much prettier if it had one field per line, like in SELECT/CREATE TABLE.
This gets especially unreadable when there are lots of fields in the JSONB value:
Out:
Beta Was this translation helpful? Give feedback.
All reactions