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
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...