Default where clause on queries
Is it possible to set a default where clause on all queries? My use-case is scoping all queries to the current account_id to avoid users with multiple accounts from having data leak between.
2 Replies
multiple-amethyst•7d ago
I think this is likely something best set up in your collections, so only fetch/sync the data for that account.
genetic-orangeOP•6d ago
Ah okay I'll take a look. Appreciate the help!