node-json-db
node-json-db copied to clipboard
Return function push()
I change this line 277 ~280
dbData.setData(toSet);
if (this.config.saveOnPush) {
this.save();
}
to this
dbData.setData(toSet);
if (this.config.saveOnPush) {
this.save();
return toSet;
}
if possible can add this to a final code?