
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
- Encountering More factors are required w...
I am encoutering the more factors error even though I am providing proper mfa code in the workflow. The following happens: 1) User provides email adress 2) Use...
- AppwriteException: Missing required para...
I'm having a problem accessing my users collection to list all my users. I was having trouble creating users but it has been resolved. I'm using react/nodejs on...
- URL attribute in "processing" state
Good day everyone! I just started learning React/Vite. In my current database right now I have these 4 attributes, and the URL attributes seems to still be in ...
