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
- Attribute Limit Exceeded
Help! I filled in 10 columns in one of my tables and I'm getting this irritating "Attribute Limit Exceeded" error! I even paid to try to make it go away hahaha...
- Issue with Authentication
I am stuck with authentication using appwrite. I am getting bad request 400 error when trying to register though we already have project, database, collection c...
- getaddrinfo EAI_AGAIN when using axios
I have this code to make a get request to an API ```javascript function fetchUserListPerPage(page) { return new Promise(async (resolve, reject) => { ...