louischatriot / nedb

The JavaScript Database, for Node.js, nw.js, electron and the browser
MIT License
13.46k stars 1.03k forks source link

Add $setOnInsert modifier #669

Open BlaineEhrhart opened 3 years ago

BlaineEhrhart commented 3 years ago

This will mimic the setOnInsert functionality mongo currently offers