fuego icon indicating copy to clipboard operation
fuego copied to clipboard

No Error on deleting non-existing Document

Open Mopsgeschwindigkeit opened this issue 1 year ago • 0 comments

With executing fuego delete col/<non-existing-id> you do not get an error message. This could lead to some probems in case of a typo.

Adding an additional flag to enable an 'existence check', could solve the issue. e.g.

$ fuego delete --check-existence col/<non-existing-id>
Error: Trying to delete non-existing document

Mopsgeschwindigkeit avatar Sep 15 '23 16:09 Mopsgeschwindigkeit