Hello there,
I have a Relationship attribute as shown in the picture. I use pre-existing doctor documents to create a relationship and I noticed that every time I create a document with that relationship set with an existing document, the existing document gets created with a unique id. Is that unusual or is the intended behavior? Thanks
Existing document gets created with a unique id? What do you mean?
I might have misunderstood on how Relationships exactly work. So let me get it straight: Relationship attributes creates a link between documents right?
So for example if collection A has relationship with documents in collection B, and if we want to create a document in collection A with a relationship from a document of collection B that already exists, should the first document from collection A (the one we create) cause the creation of a new document (the one we want to build a relationship with) in collection B?
That seems a little confusing
You can create a document in the related collection or link an existing.
Maybe you can share your code
I implemented that in a production project and I had to quickly find another alternative. I will try to replicate that and share the code
Recommended threads
- GOT 500 error when going to the appwrite...
I gott 500 internal error screen and my API is timeout. please help to take a look. Traceback (most recent call last): File "D:\conda\envs\wrista\Lib\site-pa...
- Returned columns when Query.select is us...
Hello, I am noticing that whatever i put in Query.select, the returned data will always contain the following fields ` "total": 1, "rows": [ { ...
- Does appwrite supports increasing the va...
I am building a chat application where user message needs to increased on every row creation. For this is there any increament feature?