
it's not supported yet, in cloud as RS was only released in v1.3, The work around would, storing the id or another document as attribute in the collection.

For example, if you want relationship between, A -> B
then in collection B
you can attribute name as a_doc_id
and then whenever you create document B
you simply pass doc id of A doolection.

Same goes for fetching, when you fetch B
doc you first fetch doc B
which return A-ID
and then then you send another request to fetch details of A-ID
from A-Collection

cool thanks

a_doc_id would be a string i suppose right?

yap always, every doc -id is String type in appwrite

and each doc-id size is 36

thanks

no worries

[CLOSED] Relationship attribute for appwrite hackathon
Recommended threads
- Console create row ui not passing ID.uni...
I'm getting an error saying the id is already used but it should be created with ID.unique() it doesn't seem to be reading the row ID field at all. I can't get ...
- [FEATURE] Better usage analytics for app...
Recently, i've gotten **73** emails from appwrite regarding excesive GBHours usage. I've almost hit the limit of 1000 and it is really hard to track down which ...
- Images not showing up --
so i made this movie app - i hosted it successfully using appwrite but the images arent showing up --- https://movie-app-jsm.appwrite.network/ this is the movie...
