Help with update document

Database & APIs
greetings, sorry for the bad eng language.
I need help with updating documents in database.
I use the widgets button.


The application I am making is for check in and check out of workers. The first button is for check in and the second button is for check out after 8 hours of the shift. That's where I run into a problem because I can't set the document to update. What it does is create a new document, but I want the existing document to be updated.
Thank you all for your help. Otherwise, I am a beginner and this is my first application.


I use these three collections to add new workers by sector, while I use this one Prijava_Odjava collection to create a document and later download it to csv for control.

What have you tried so far?
I've tried everything I know, I've also looked at all the internet guides to find a solution, or is this not a problem but my lack of knowledge.

Thank you very much for your help
Did you check FlutterFlow's Documentation for this topic?
No
2
5 replies