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
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...