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
- SSR share session to client using custom...
Hi, so I was trying to get a hang of using SSR and using realtime updates in the same time which is done easiest if you have a custom domain in Appwrite and as ...
- Custom Domains with Cloudflare for SaaS ...
Hi! I'm using Appwrite Cloud Sites with Cloudflare for SaaS for multi-tenant custom domains. Problem: Custom domain: donate.pekeetong.my → CNAME to sites.dono...
- [SOLVED] Get Relations when using Tables...
Hi there, I have a table containing a relation column with a one-to-many relationship to another table. When Using TablesDB.GetRow in "node-appwrite" i get all ...