From b0197101c524aab191fa3bb3c512ef899a987e96 Mon Sep 17 00:00:00 2001 From: Omar Farooq Date: Mon, 7 Sep 2026 23:07:38 +0500 Subject: [PATCH] docs: document expected demo output --- docs/DEMO.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/DEMO.md b/docs/DEMO.md index 51a9be1..30ff8a4 100644 --- a/docs/DEMO.md +++ b/docs/DEMO.md @@ -44,6 +44,17 @@ A client connection to port 5433 confirms traffic is passing through OhMyDB befo Because the UPDATE has no WHERE clause, OhMyDB evaluates it as a potentially full-table mutation and applies the configured safety policy before execution. +## Expected blocked-query output + +For an UPDATE without a WHERE clause, the client should receive a blocked-query response describing the policy decision. + +Typical result: + + Query blocked by OhMyDB + Severity: CRITICAL + Operation: UPDATE + +The exact wording may vary with configuration, but the mutation should not reach the backend when the active policy blocks it. ## Verify the database SELECT COUNT(*) AS inactive_customers