Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-292

FindOneAndDelete command

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      When i try the "find_one_and_delete" command with using some id, i got that error.

      Err(Error { kind: CommandError(CommandError { code: 9, code_name: "FailedToParse", message: "Either an update or remove=true must be specified", labels: [] }) })

      But if i change only the command to "delete_one", it works without a problem.

            Assignee:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Reporter:
            phantom3ee@gmail.com Hakan Afat
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: