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
Currently, when performing a query that filters off of an embedded table, if no records in the embedded table match a filter, Null is returned for the embedded table object.
A helpful use case would be to exclude records that do not have a match in their embedded table for that query. Perhaps something like this:
// returns Customer {customer_id: 2, orders: Null}let records = client
.from("customers").eq("customer_id","2")// add a boolean param that excludes records from `customers` that don't have a an order with price of 20.eq("orders.price","20",true).count().execute().await;
Currently, when performing a query that filters off of an embedded table, if no records in the embedded table match a filter,
Null
is returned for the embedded table object.A helpful use case would be to exclude records that do not have a match in their embedded table for that query. Perhaps something like this:
See also: supabase/postgrest-js#197
The text was updated successfully, but these errors were encountered: