Back

[SOLVED] Can I link child document simultaneously by $id & pass passing data for child doc creation

  • 0
  • Databases
Vedsaga
15 May, 2023, 08:37

So, I want send request like this

TypeScript
parent
-- child = ["6hashhnd...", {"attribute1:"abcd",}]

so, what I expect is that the as id of be linked as id already exist but, also user creating new document and also link that

TL;DR
The user wants to know if it's possible to simultaneously link a child document by its ID and pass data for the creation of the child document. The thread confirms that this should work. The user wants to send a request with both the ID of the already existing child document and also create a new document with a link.
Drake
15 May, 2023, 18:52

yes...that should work

Vedsaga
16 May, 2023, 05:52

<Solved> Can I link child document simultaneously by $id & pass passing data for child doc creation

Drake
16 May, 2023, 15:38

[SOLVED] Can I link child document simultaneously by $id & pass passing data for child doc creation

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more