Closed td0m closed 3 years ago
This should fix JSON marshaller that serialises null array pointers to nil rather than [].
JSON
nil
[]
More about it here.
Thanks! Looks like it works as expected. There's an edge-case with a :one type query that returns an array like SELECT null::int[]. I can deal with that in a follow up PR.
:one
SELECT null::int[]
This should fix
JSON
marshaller that serialises null array pointers tonil
rather than[]
.More about it here.