Remove item (document reference) from array inside collection with a documentRef of another collection.

Database & APIs

Hi there!,

I have collection seller and collection statements of work. I need to be able to remove that item inside that docRef list using another docRef.

Right now i have everything, the statements of work specific docRef, and the specific seller document i want to update. How can i do this operation using flutterflow? The list system really confuses me.

This is for removing an item from a list, i actually have a delete acction for the SOW collection, but in need to eliminate the sow_id ref updating the seller. If not, listview will break. (Its looping using that array)

delete.PNG
25.67KB

I hope you can help me.

Thanks.

What have you tried so far?
  • Updating Sellers collection selecting sow_id and trying to filter with de statements_of_work document

Try.PNG
62.92KB

Did you check FlutterFlow's Documentation for this topic?
Yes
3
2 replies