Skip to content

Idea: Merge Hook #9

@jo

Description

@jo

CouchDB Push always overwrites existing files. We maybe need to support a hook, which can be supported as an option when using the API and will handle a merge:

{
  merge: function(newDoc, oldDoc) {
    newDoc.something = oldDoc.something
    return newDoc
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions