supabase-cache-helpers
supabase-cache-helpers copied to clipboard
A collection of framework specific Cache utilities for working with Supabase.
**Describe the bug** I am using _useOffsetInfiniteScrollQuery_ to achieve an Inifite-Scroll effect in my web application. The data is sorted by the _created_at_ column (descending order) and loading more data...
**Describe the bug** I am trying to type the result of `fetchOffsetPaginationHasMoreFallbackData` to pass it to a client component where it then gets passed as `fallbackData`. The closest I have...
This is more of a question, but I am trying to subscribe to updates on a join table to add a row to a able. So if theres a table...
Thanks for this library! The docs don't describe embedded resources / joins, or have any examples of this. I need to implement a realtime subscription to a query that includes...
[On this page](https://supabase-cache-helpers.vercel.app/postgrest/subscriptions) I read: > NOTE: Channel names must be unique when using multiple subscription hooks. What does "uniqueness" mean here? Some possible interpretations: * It's an error for...
**Is your feature request related to a problem? Please describe.** Since this is a small-enough project, we should migrate to bun to save time (and for the sake of it,...
Upserts with multiple primary keys need explicit onConflict clause which we can generate from the primaryKeys parameter.
Fixes #374.
**Describe the bug** I'm using `GENERATED ALWAYS AS IDENTITY` primary key definitions, which is great, because it makes sure that no-one can accidentally update id columns. It's still possible manually,...