Closed swist closed 8 years ago
I can't seem to replicate. Which version of neo4j are you using? Here's what happens for me:
var s = require('./lib/seraph')
undefined
> var db = s()
undefined
> db.save({name:'Test'}, 'Company', function(err, node) { console.log(err, node) })
undefined
> null { name: 'Test', id: 4567 }
Please reopen if you have some steps to replicate!
I am trying to create a company with a label in a single
db.save
call, but I getneo4jError:NullPointerException
my code is:
When I use a
db.label
in the callback it works:Is this the expected behaviour? The documentation suggests that the first option should be possible.