Query and listen for data insert & delete in React with foreign keys #1315
Unanswered
cdedreuille
asked this question in
Questions
Replies: 1 comment 3 replies
-
If you're looking for more data, I think there is some additional configuration you can set for your realtime data:
This section specifically in the second link:
If you use the default example and query on |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having some trouble updating a list using Supabase realtime on a Nextjs app. Here is what I'm trying to do:
I'm facing a couple of problems:
profiles
so ifprofiles
updates, it should refresh the list of occasions.select('*, profile(*)')
. I'm not sure how to update the list on INSERT.I couldn't find an example of fetching data and then listen for INSERT or DELETE. Any idea what I'm. doing wrong here?
Beta Was this translation helpful? Give feedback.
All reactions