Ive setup relationships in my colllection and its working well with. So how do i fill the relationship attribute from the client side when uploading the document?
If the document you want to create the relationship with already exists then you can just reference the ID of that document, or you can create new documents using a nested format to create the documents you want to have the relationship with at the same time https://appwrite.io/docs/products/databases/relationships#create-documents
so its a collection_id: doc_id
'<REVIEW_ID_1>',
'<REVIEW_ID_2>'
]```
it has to be a list even if i have one relation
Recommended threads
- Export, Import or Migration giving this ...
As you can see in yhe screenshot i am not able to export any data or export the data from tables. Also it is affecting the migration from appwrite to appwrite h...
- Project auto-blocked after load testing ...
Hi team π My project has been automatically blocked with the message: "Project is currently blocked β Access to this project is restricted. Contact support if...
- Error With iOS Apps
I keep getting the below errors for my flutter app. The clients are registered and have been. This wasn't an issue a few hours ago. AppwriteException: AppwriteE...