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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...