Hi I need some help with updating and deleting my supabase rows

Database & APIs

Side note : A lot of the flutterflow concepts, I still do not know. I don't know how page states and variables work. I just recently figured out how parameters work.

So I have this form in my app that allows a user to add their company. I have an action that inserts a row in supabase. That part works fine.

I added parameters that I can use to display the info for after a user puts in their information. So they can either update the info or delete. This is where my issue is.

These are the buttons i added to update or delete a company that has been added.

This is what the backend action looks like. I keep seeing some stuff online about returning matching rows but I don't understand how that works.

Do I need to filter with the ID of the Supabase row? If so how do I do this? When I add the ID I don't know what field to set it to. Do I need to create a parameter for the supabase row ID? Please help if you can, this is all still new to me and very confusing.

What have you tried so far?

I have tried filtering with ID but I don't know how to set a field to the ID to match the supabase row ID. With UserID for instance, I can set field to Authenticated user ID. But i don't know how to do that for the document ID itself.

Did you check FlutterFlow's Documentation for this topic?
Yes
1 reply