Skip to content

Insert modifies the passed object - intentional? #101

@KarneAsada

Description

@KarneAsada

I noticed that when passing an object to insert, the _id property is added to the original object via reference. Is this intentional? It seems slightly strange and I've been cloning the object before passing it to insert to prevent this.

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