Skip to content

$replace with new documents? #245

Open

Description

@cwewells

I've used the $replace operator for new documents (as opposed to searching if they exist) and there seems to be not problem with that. Is this by design or should I check if a document exists (by primary key) and then $inserting if not yet in collection?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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