My expectation is that Fawn would update all documents matching criteria {owner: owner, branch: branch}. But, fawn only updates a single document which matches the criteria. All other documents matching criteria remains untouched.
Is this the expected behavior? Is there any way to get all documents to update?
I use following to update a collection with Fawn.
dbTransactionTask.update('receipts', {owner: owner, branch: branch}, {closed: true});
My expectation is that Fawn would update all documents matching criteria {owner: owner, branch: branch}. But, fawn only updates a single document which matches the criteria. All other documents matching criteria remains untouched.
Is this the expected behavior? Is there any way to get all documents to update?