You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure what's happening but when I use fawn (viasave) to update a document overriding exiting values to undefined, it's restored to the original value. Transaction results are ok and can't see the deleted value but don't know where is restored.
transaction.run({useMongoose: true}).then((results) => {
//results[0] is {name: "MyName"} but if I query db is {name: "MyName", description: "Hello"}
});
The text was updated successfully, but these errors were encountered:
Not sure what's happening but when I use fawn (viasave) to update a document overriding exiting values to undefined, it's restored to the original value. Transaction results are ok and can't see the deleted value but don't know where is restored.
Eg:
Before: {name: "MyName", description: "Hello"}
After: {name: "MyName"}
The text was updated successfully, but these errors were encountered: