Skip to content

basalt / audit/src / exactEventMatch

Function: exactEventMatch() ​

> exactEventMatch(pattern): string | undefined

Defined in: audit/src/index.ts:302

The event filter a driver may push into SQL as an equality. A pattern with a wildcard must still be matched in code; so must one containing ., because patternMatches treats . and : as interchangeable separators and an equality would miss a:b for the pattern a.b.

Parameters ​

pattern ​

string | undefined

Returns ​

string | undefined

Released under the MIT License.