Closed
Description
Issue
I've used the result.ok
to check the saving whether successful in the transform
.
But put or bulkDocs with options.new_edit: false successfully returns result.ok is undefined.
aDB.transform({
afterIncoming: async (result: ITransformIncomingResult, type: TransformPouchType) => {
if (result.ok) {
// do it if ok
}
}
})
I've find this is reason #5775 and #7572 .
So how to determine if the document has been successfully saved, through the strange couchdb bug?
Metadata
Metadata
Assignees
Labels
No labels