Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(db): Add Supabase client and database instances caching (#2513)
This pull request adds caching for the Supabase client and database instances in order to improve performance and reduce unnecessary API calls. The `get_supabase_client()` and `get_supabase_db()` functions now check if the instances have already been created and return the cached instances if available. This avoids creating new instances for every function call, resulting in faster execution times.
- Loading branch information