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
- execution failed
When executing an appwrite function, I'm getting a 500 error, but I don't see it in executions. This issue appeared today. Here's the appwrite function ID: 68b4...
- How to use appwrite types
I am using appwrite types --language ts ./types to generate the types yielding something like: ``` import type { Models } from 'node-appwrite'; // This file i...
- Dynamic Roles
I tried to store a row with this permissions: permissions.push( Permission.read(Role.users("verified")), Permission.write(Role.label(`c-${calend...