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
- I recently applied for the free plan und...
I recently applied for the free plan under the GitHub Student Developer Pack. However, my billing status still shows $15, and it mentions that this amount will ...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Bug Report: Appwrite Console UI Issue on...
Steps to Reproduce: - Navigate to any collection page in the Appwrite console UI. - Open the menu and click on "Create Collection." - Observe that the dialog to...