
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
- A feature/Fix request
Whenever I use Appwrite then to see the items of document I've to click "columns" option and select those items that I want to see then if I refresh browser/pa...
- Collections not showing for relationship...
I am updating one of my databases. I have removed the majority of collection and started adding new collections. The new collections do not appear in the drop d...
- Error: The document data is missing. Try...
I am not able to create any document on some of the collection/ DBs. As I can see many of us facing the same issue, need a quick resolution from the Appwrite Te...
