when i try to do this, i get the "Attribute with the requested key already exists" error. maybe an example of my scenario would be more helpful. think of a chats collection in a messaging system. the app has a users collection as well. so in the chats collection, there'll be two obvious attributes as sender and recipient. and both of these relationship type attributes need to point to the same collection, which is users. and this doesn't seem to be possible rn in Appwrite cloud?
For now, it might be possible to make the API call manually so that you can set your own unique two way key
u mean to create the attribute using node-appwrite?
Ya, or CLI
Recommended threads
- SELF HOSTING ISSUE, DATA NOT MIGRATING T...
Hey, devs, I recently tried to migrate my cloud instance to a self hosted version but my data is not transferred fully only the table structure is transferred ...
- No Document ID?
Hi I have a self hosted appwrite. My documents get a document ID but are not visible in the console. I don't know why this happens and how to fix this
- AppwriteException: Invalid query: Query ...
```js console.log(typeof interaction.user.id) console.log(interaction.user.id) const user_check = await TablesDB.listRows({ databaseId: "db", ...