Reduce related column select
How can I reduce the result of fetching a related table's column down?
Results in:
I really just want:
Results in:
I really just want:
supabase
.from<Subscription>('subscriptions')
.select(
'*, prices(*, products(*)), postcodes:postcodes_subscription!postcodes_subscription_subscription_id_fkey(post_codes)'
)
.in('status', ['active']); ...
"postcodes": [
{
"post_codes": "1234, 4567"
}
]
... ...
"postcodes": "1234, 4567"
...