Hi I need to perform the folowing query:
- Connect to one Node mulitple Nodes from diferent types and Ids. (get them as parameter)
- Part of the nodes with ids my not exists in the DB .
- Connect once ( not duplicate) only the nodes with with ids which are actually in the db.
- return the new updated code + a list of all not connected nodes (The non exists ids).
Example : We need to connect student Jack to 6 course with ids (1 to 6)
Jack is alleady connect to course id 2.
Course nodes with id 4 and 6 does not exits in the DB.
Jack will be connected to courses 1,2,3,5
Updated Student Node Jack + Courses 4 + 6 will be returned .