
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
- Subdomain failed verification
So I wanted to do a custom subdomain, because local storage doesn't work for me, but I've tried it a long time ago, it didn't work for me, and now I'm trying ag...
- Query params are way too limiting in ter...
I was trying to list rows in a table that do not already exist in another table. I retrieved around 260 row IDs which are 13 characters in length each, and then...
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
