How to call the interface once to query Documents through Document ids?
I have an article entity and I need to find out who has followed this article. I need to know the names of these followers. What is recorded in my article entity is the ID of the followers. I think one-to-many scenarios like this are very common.
I would have a collection called followers and have there 2 attributes:
- User ID
- Article ID
Then an users collection with each user name
Saving everything in the same document will degrade performance
databases.listDocuments("[DATABASE_ID]", "[COLLECTION_ID]", [
Query.equal("$id", ["[DOCUMENT_ID_1]", "[DOCUMENT_ID_2]", ...]),
]);
Recommended threads
- total parameter not working correctly in...
Hello Appwrite team, I'm experiencing issues with the total parameter in the listRows() method (TablesDB) across multiple SDKs. **Issue 1**: Node.js SDK (node...
- rxdb integration code not working
https://appwrite.io/blog/post/offline-first-journal This code does not work with rxdb and appwrite packages set to february releases nor newest releases
- Costom domain Issues
Hi Appwrite team We’re having issues verifying a custom domain. We added the required CNAME and CAA records to our DNS provider and waited for at least 2 days a...