brikteknologier / seraph

A thin and familiar layer between node and neo4j's REST api.
MIT License
309 stars 59 forks source link

Support saving multiple labels – db.save( {properties}, [labelA, labelB] ) #192

Closed n321203 closed 8 years ago

n321203 commented 8 years ago

Feature request: Allow an array of labels to be passed to db.save():

db.save({title: 'Seraph', data:123}, ['Library', 'Cool', 'Todo'], function(err, node) {

})
jonpacker commented 8 years ago

This should absolutely work. I've added a test for it here f48eda2 - and it's passing for me. Open again if you're having troubles with it.