Hi, I have a one to many relationship between 2 collections. (Products and Catrgories) How can I get the list of documents (Products) that are related to the other collection (categories). I'm using the Futter SDK.
when you fetch, the related documents should be returned automatically...what problem are you facing?
its returning automatically.. how can i make it to return only the ID of those related documents and not the entire related document?? ie, imagine if products have a relationship category and category is another collection with its own attributes. while fetching products , i only need to get the Id of its category and not the category as a whole. // how to acieve this ?
got it .. use select([]) right?
No, it's not really supported at the moment
Recommended threads
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support 👋 I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...