SqlFilter Class

Represents a filter which is a composition of an expression and an action that is executed in the pub/sub pipeline.

Inheritance
SqlFilter

Constructor

SqlFilter(*, sql_expression: Optional[str] = None, compatibility_level: Optional[int] = 20, requires_preprocessing: Optional[bool] = True, **kwargs)

Parameters

sql_expression
str
Required

The SQL expression. e.g. MyProperty='ABC'.

compatibility_level
int
Required

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

requires_preprocessing
bool
Required

Value that indicates whether the rule action requires preprocessing.