
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
- Sharing cookies
Hi, I’m using Appwrite Cloud, and I have a setup where my Appwrite backend is hosted on a subdomain (e.g., api.example.com), while my frontend (Next.js app) and...
- Organization not exists anymore
Hello! We have a problem with a cloud database. We are on the Free plan, but after a refresh the site wants me to create a new organisation, and I not see the c...
- JSON and Object Support in Collection do...
I am working with Next.Js and Appwrite Cloud, I am relatively New to Appwrite but i have noticed there is no direct support of JSON and Object support in attrib...
