Skip to content

Multi update error #116

@arkabase

Description

@arkabase

In /lib/index.js line 163 :

const entry = _.omit(data, '_id');

the _.omit method only works on single object, so when trying to update multiple entries with null id and an array of objects, the omit don't work and the _id is not removed from entries, generating Error: You cannot change a document's _id !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions