can't create two relationship type attributes pointing to the same collection
- 0
- Databases
- Cloud
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
- get document with jwt unauthorized
Hello, I want to implement server side listDocument (listed) and getDocument (detail) with authentication JWT. For listDocument, authentication with JWT succes...
- Different setJwt & setSession SDK
What is different setJwt & setSession when using SDK
- Unable to login to the Appwrite.io
<#564161373148414012> Hello, it is urgent. I am trying to log into my existing Appwrite account. After login, it keeps the stuck in 'cloud.appwrite.io/consol...