Add example use of match and ignore parameters

The CCRFilter documentation now has examples for both `match` and
`ignore`.
This commit is contained in:
Markus Mäkelä
2017-03-14 13:12:02 +02:00
parent 9efcea4cec
commit b7e29fb6f0

View File

@ -64,6 +64,10 @@ An optional parameter that can be used to control which statements trigger the
statement re-routing. The parameter value is a regular expression that is used to
match against the SQL text. Only non-SELECT statements are inspected.
```
match=.*INSERT.*
```
### `ignore`
An optional parameter that can be used to control which statements don't trigger
@ -71,6 +75,10 @@ the statement re-routing. This does the opposite of the _match_ parameter. The
parameter value is a regular expression that is used to match against the SQL
text. Only non-SELECT statements are inspected.
```
ignore=.*UPDATE.*
```
## Example Configuration
Here is a minimal filter configuration for the CCRFilter which should solve most