For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.

JavaScript: stripNulls

Strip null values from the response data. Properties with null values will be omitted from the returned JSON objects.

Requires PostgREST 11.2.0+.

https://docs.postgrest.org/en/stable/references/api/resource_representation.html#stripped-nulls

Examples

With `select()`

const { data, error } = await supabase
  .from('characters')
  .select()
  .stripNulls()