for e.g I have this collection called "tweets" inside it i have an attribute called "likes" which is type of an array string [] i have there bunch of users id. When i want to query it, I want to have a info of the each users as well. Can anyone help on on this?
you can create a cloud function to get the user's data by inputting their id.
in your fromtend code, loop over the array of user ids, and execute the function, which will return the user data
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...