
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
- Hi, can anyone give me some free credits...
Hi, can anyone give me some free credits to upgrade to pro for a few months?
- The current user is not authorized to pe...
Hello, I am attempting to receive fetch data from databases.listDocuments with each of its env parameter data for it to be shown on a NextJS project. However I ...
- Native Sign in with Google/Apple Flutter
Is native sign in with google / apple in Flutter possible with Appwrite?
