Open flashsnake-so opened 8 years ago
Please close this ticket.
there still is No example for: insertNode, using labels
+1
This works for me second argument if not callback is array of labels
db.insertNode({
name: 'Darth Vader',
sex: 'male'
}, ['Character'], function(err, node){
if(err) {
throw err;
} else {
// Output node properties.
console.log(node.data);
// Output node id.
console.log(node._id);
}
});
Can you please update the README with example on how to use this?
Thanks.