Database Client#
Description#
This package contains the (one and only) database client we use to access the database. Queries are grouped into subclients that are accessible via the main client.
Adding a Client Method#
To add a new method accessing the database:
- Check if there is already a subclient where it's natural for the query to belong
- If not, add another subclient
- If adding a subclient, remember to add it to the main database client (do not import the subclient directly)
- Do not use the supabase client for new queries. We are going to remove that dependency in the future. Use
sqlcqueries instead.