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
- How to disable appwrite/embedding from s...
Hi everyone! I'm currently running a self-hosted instance of Appwrite. For my current use case, I don't need the AI/embedding features, and I noticed the `app...
- Invalid type for attribute 'email': emai...
I'm using the node-appwrite SDK to create a table, the column payload looks like this: ```json [{"key":"email","type":"email","required":true, "size": 512}] ``...
- Active Running Project Deletion Alert Em...
Hi , I received an email alert from Appwrite today stating “your project will be deleted within 14 days if no action is taken,” though I have been actively usin...