i want to delet a list of document linked to a document using Loop

Actions & Logic
Resolved

Hello,

if someone can explain me how loop work.

Let say a user love Lemon
He saved "Lemon" Document ID and then,
he saves some recipe that contain lemon:
- Lemon Butter Cake (Document A),
- Martini Lemon ice cream (Document B)
- etc..
If user delet his Lemon Document, i want to delet all recipe he saved.
How to delet all document using loop?
beside, i am not using sub collection

i understand it involved doing a page state to retreive number and each number will represent one document from the list
but after that, my brain just stop working with logic

What have you tried so far?

look documentation and tutorial about Loop

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