From 85061fcb76bb7c5a9d00cf2e363ead71aae0cf28 Mon Sep 17 00:00:00 2001 From: Eric Fu Date: Fri, 3 Jan 2025 16:31:23 +0800 Subject: [PATCH] readme --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 7032b49..f17aa28 100644 --- a/README.md +++ b/README.md @@ -140,10 +140,22 @@ SELECT id FROM test; ---- 1 +query error retry 3 backoff 5s +SELECT id FROM test; +---- +database error: table not found + statement ok retry 3 backoff 5s UPDATE test SET id = 1; + +statement error +UPDATE test SET value = value + 1; +---- +database error: table not found ``` +Due to the limitation of syntax, the retry clause can't be used along with the single-line regex error message extension. + ### Extension: Environment variable substitution in query and statement It needs to be enabled by adding `control substitution on` to the test file.