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
- Appwrite SSL Certificate Failure
Hello, I need help releasing a stuck domain. My Domain: adilnaib.engineer My Project ID: 68fe0aee001e999b5d71 Error: Failed to add domain to Fastly: {"msg":"B...
- [BUG] I'm facing an issue while creating...
Here’s what’s happening: When I try to create a new Web app on my Appwrite console (backend.keplr.in), the browser console shows multiple errors: Uncaught (in...
- Sites: Old deployment gets requests even...
Hi team, I use Sites to host a Next.js web app and it serves from old deployment for many hours. Is this expected? I thought it would serve from new deployment ...