Avoid returning null field in JSON result #2041
-
Is it possible to configure a PostgREST call to exclude any fields with null values in the response from a query? For example, assume a query returns 2 columns: id and name. Assume that some rows have null value for 'name'. In this case, is it possible to get a response like this:
instead of this:
Is this possible? |
Beta Was this translation helpful? Give feedback.
Answered by
wolfgangwalther
Nov 24, 2021
Replies: 1 comment 1 reply
-
This has been asked for in #1601, but not implemented, yet. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
wolfgangwalther
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This has been asked for in #1601, but not implemented, yet.