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 field/column of type jsonb and I would like to insert the value null (specifically, the null::jsonb Postgres type), but I cannot due to the error: unexpected null value for type 'jsonb'.
What is the right way to store a null value using the GraphQL API?
I am specifically trying to insert the Postgres null::jsonb type, not the typical NULL in sql.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a field/column of type
jsonb
and I would like to insert the valuenull
(specifically, thenull::jsonb
Postgres type), but I cannot due to the error:unexpected null value for type 'jsonb'
.What is the right way to store a null value using the GraphQL API?
I am specifically trying to insert the Postgres
null::jsonb
type, not the typical NULL in sql.Here are more details of the mutation:
Beta Was this translation helpful? Give feedback.
All reactions