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
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...