Currently
SELECT json_build_object('foo', "foo", 'bar', "bar", 'baz', "baz", 'qux', "qux", 'quux', "quux");
Gets formatted as
SELECT
json_build_object(
'foo',
"foo",
'bar',
"bar",
'baz',
"baz",
'qux',
"qux",
'quux',
"quux"
);
This would be be easier to scan:
SELECT
json_build_object(
'foo', "foo",
'bar', "bar",
'baz', "baz",
'qux', "qux",
'quux', "quux"
);
And I'd even suggest keeping that formatting style even when the 'foo', "foo" line is longer than 80 characters. Thoughts? :)
Currently
Gets formatted as
This would be be easier to scan:
And I'd even suggest keeping that formatting style even when the
'foo', "foo"line is longer than 80 characters. Thoughts? :)