nosql
nosql copied to clipboard
.modify() doesn't evaluate anything
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
Hi @Sly-Ripper, I'll try to update NoSQL module this week. I'll let you know.