Skip to content
Monghoul
0:38

Write protection stops a delete

The dialog reads your query, and the driver enforces the block.

Connections and safety · The dialog reads your query, and the driver enforces the block

Recorded on Monghoul 2.0.0-rc.1. No sound.

What happens

A deleteMany on a write-protected connection raises a dialog naming the operation and the target, and is cancelled; the same delete written with the method name as a string raises no dialog, because the text scan cannot see it, and the driver refuses it instead.