
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
- Collection Permission issue
I am facing issue in my Pro account. "Add" button is disabled while adding permission in DB collection settings.
- Opened my website after long time and Ba...
I built a website around a year back and and used appwrite for making the backend. At that time the website was working fine but now when i open it the images a...
- Is it possible to cancel an ongoing file...
When uploading a file to storage, is there a way to cancel the upload in progress so the file is not saved or partially stored?
