Hi,
I have a function that listen to any create event in another collection then grab the data and add it to another collection
The first collection: POS_ORDERS The second collection: ORDERS_PAYMENT_RECORDS
the function event listen to any create in the POS_ORDERS collection then executes, grabbing the data in the document and creating a payment record in the second Collection (ORDERS_PAYMENT_RECORDS) with read permission to the POS userId and the creator of the document userId only.
My question if 2 POS's creates document in the same time same second, does that cause a problem with the function, like creating only one record or missing something??
I'm using dart as runtime for the function.
Recommended threads
- I'm getting an error on the console "j?....
On my self hosted instance version 1.8.1 the console is giving me this error when trying to view the rows for a table I recently created. My application is read...
- Websites hosted on my appwrite sites hav...
Hello, all my websites hosted on appwrite sites are not running I am getting this message "This site can’t be reached drivehub.appwrite.network took too long t...
- Function global variables
when i create a top-level global variable in go or bun how will it behave? is the heap getting renewed on every execution or could i do some kind of temp. cachi...