Add example use of match
and ignore
parameters
The CCRFilter documentation now has examples for both `match` and `ignore`.
This commit is contained in:
@ -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
|
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 against the SQL text. Only non-SELECT statements are inspected.
|
||||||
|
|
||||||
|
```
|
||||||
|
match=.*INSERT.*
|
||||||
|
```
|
||||||
|
|
||||||
### `ignore`
|
### `ignore`
|
||||||
|
|
||||||
An optional parameter that can be used to control which statements don't trigger
|
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
|
parameter value is a regular expression that is used to match against the SQL
|
||||||
text. Only non-SELECT statements are inspected.
|
text. Only non-SELECT statements are inspected.
|
||||||
|
|
||||||
|
```
|
||||||
|
ignore=.*UPDATE.*
|
||||||
|
```
|
||||||
|
|
||||||
## Example Configuration
|
## Example Configuration
|
||||||
|
|
||||||
Here is a minimal filter configuration for the CCRFilter which should solve most
|
Here is a minimal filter configuration for the CCRFilter which should solve most
|
||||||
|
Reference in New Issue
Block a user