.modify() doesn't evaluate anything
Opened this issue · 1 comments
Sly-Ripper commented
Node v12.6.0
nosql v6.1.0
db.modify({ '+coins': 1 }, { id: 1, 'coins': 1 }).where('id', 1);
Results:
1st: {"id":1,"coins":1}
2nd: {"id":1,"coins":1,"+coins":1}
Also if you specify true
as second arg instead of an object it just inserts true
into the file, no object
petersirka commented
Hi @Sly-Ripper,
I'll try to update NoSQL module this week. I'll let you know.