I am doing something like rental business, and each product in the database can only have 1 user at a time, and when purchasing the client can specify how many products he wants to buy.
So my question is - how to make changes to X number of records in the database?
For example I would take 3 items from carManufacturersAndModels where uniqueId= is empty ( no one is using it)
And assign uniqueId to owners email. Should I use backend flows or is there an easier option?
Thank you creators!
I could just take the first item from the database (that matches the constraint), but how could I repeat it X times?