-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Description
Prerequisites
- I have written a descriptive issue title
- I have searched existing issues to ensure the issue has not already been raised
Issue
In the mongoose documentation for transactions it says:
Mongoose's Connection#transaction() function is a wrapper around withTransaction() that integrates Mongoose change tracking with transactions. For example, suppose you save() a document in a transaction that later fails. The changes in that document are not persisted to MongoDB. The Connection#transaction() function informs Mongoose change tracking that the save() was rolled back, and marks all fields that were changed in the transaction as modified. [End quote]
If the transaction fails, Mongoose' change tracking marks all fields that were changed in the transaction as unmodified right?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels