You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a table with a column of type smallint[]. When a value within the array is NULL, Postgres.js maps it to NaN. I would like it to map to a JS null instead.
This would match the behaviour when a whole column's value is NULL, and allow me to coalesce the null value in JS.
Is there a way to configure this? Could the current behaviour be considered a bug?
Thanks,
Adam
The text was updated successfully, but these errors were encountered:
I have a table with a column of type
smallint[]
. When a value within the array isNULL
, Postgres.js maps it toNaN
. I would like it to map to a JSnull
instead.This would match the behaviour when a whole column's value is
NULL
, and allow me to coalesce the null value in JS.Is there a way to configure this? Could the current behaviour be considered a bug?
Thanks,
Adam
The text was updated successfully, but these errors were encountered: