Open clamor opened 8 years ago
:+1:
Looking at the source code, it does not seem to be supported. It sounds like an important feature to add, however.
Hi, I'm new to Neo4j, and I'm having the same issue with the Doc Manager. Is there any workaround for this using the DM?
Same for me, it is not possible to create multiple relations between nodes (i.e. array of object ids is not supported)
There is a TODO line here Is there an estimated time for this to be implemented?
please someone solve this issue! Need it very much.
Any updates on this?
try is this way it may work db.items.insertOne({"name":"item05","description":"desc05","items":["57719752029ffbfb3c4cd0af","577197a8029ffbfb3c4cd0b0"]}): neo4j somehow associates nodes with the one you are about to create when you mention the field: "items_id". and since you mentioned more than one i think that's why it didn't work. other than that arrays work fine i guess.
The code I wrote appends profiles to an array of references as they are added by the user in the following section.
"follow": [ "5d40cb39196069b205282ef2", "5d40cb39196069b205282f02", "5d40cb39196069b205282f0a", "5d40cb39196069b205282eea", "5d40cb39196069b205282efb", "5d40cb39196069b205282eeb", "5d40cb39196069b205282ef3", "5d40cb39196069b205282f03", "5d40cb39196069b205282f0b", ], "posts": [], "created_at": "2019-07-30T22:54:56.932Z", "updated_at": "2019-07-30T22:54:56.932Z", "_id": "5d40cb0d196069b205282edf", "full_name": "Some Awesome Name",
But, neo4j does not recognize each new insertion on this profile as a relationship of type 'follow'. Is there anything that I am missing to config for neo4j-doc-manager?
I tried something like
db.items.insertOne({name:"item05",description:"desc05",items_id:["57719752029ffbfb3c4cd0af","577197a8029ffbfb3c4cd0b0"]})
which gets inserted to mongo, but didn't find its way to neo4j.
db.items.insertOne({name:"item05",description:"desc05",items_id:"57719752029ffbfb3c4cd0af"})
works fine. (mongo 3.2, neo4j 2.3.3, latest neo4j_doc_manager (without 3.0-updates)Are lists/arrays of ids not supported or is there another way?