Hello there I have a project that requires increasement and decreament of likes and comment and others, while many users maybe updating sulmultenously, that means getting document to check the latest count before updating maynot work as there might changes already before the whole process ends. I looked at the docs but nothing of such was found, Please how can I achieve that
This is not supported at the moment. Best to add a 👍🏼 on https://github.com/appwrite/appwrite/issues/3905
For your case with "likes", it might be better to have a "like" document instead of incrementing because if you just increment, what's stopping someone from incrementing multiple times?
Recommended threads
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...