I need to update a node's existing properties. I have node's id but, currently updateNode function replaces all properties of the node with the given properties. But I think it should really update/add properties.
describe('-> Replace an existing Node with a simple object, check if alias works', function () {
it('should return true', function (done) {
db.updateNode(node_id, {
name: 'foobar2'
}, function (err, result) {
isTrue(err, result);
done();
});
});
});
At least there should be "updateNodeProperties" function that takes "node_id" and properties and simply appends/replaces existing props to the existing node.