Hello, I was wondering whether it's possible to somehow create relation documents when creating a parent document?
Let's say I have 2 collections colA and colB. colA having an attribute referencing a document from colB.
Is it possible to create a document in colB while creating a document in colA instead of choosing an existing one?
Keep in mind, relationships are experimental and may cause performance problems.
Yes, you can create related documents. See https://appwrite.io/docs/products/databases/relationships#create-documents
Thanks a lot! I currently don't have any database logic implemented, I believe this is only supported when inserting documents using code? So not possible from within a cloud "Create Document" form?
Recommended threads
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...