Skip to content

Commit 5175639

Browse files
committed
release
1 parent ca09848 commit 5175639

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

lib/databases/mongodb.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ _.extend(Mongo.prototype, {
295295
if (currentHash) {
296296
query._hash = currentHash;
297297
}
298-
bulkOperation.push({ updateOne: { filter: query, update: {$set: obj}, upsert: !currentHash } });
298+
bulkOperation.push({ updateOne: { filter: query, update: { $set: obj }, upsert: !currentHash } });
299299
vm.actionOnCommit = 'update';
300300
modifiedCount++;
301301
break;

releasenotes.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [v1.11.2](https://github.com/adrai/node-viewmodel/compare/v1.11.1...v1.11.2)
2+
- mongodb: Support mongo atomic operators [#74](https://github.com/adrai/node-viewmodel/pull/74) thanks to [OrH](https://github.com/OrH)
3+
14
## [v1.11.1](https://github.com/adrai/node-viewmodel/compare/v1.11.0...v1.11.1)
25
- mongodb: useUnifiedTopology
36

test/repositoryWriteTest.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function cleanRepo(repo, done) {
1111
repo.clearAll(done);
1212
}
1313

14-
describe.only('Repository write', function() {
14+
describe('Repository write', function() {
1515

1616
describe('calling write', function() {
1717

0 commit comments

Comments
 (0)