QueryFilter

interface QueryFilter

Rewrites a request before mandatory scope and query policy conditions are appended.

A later preparation step may replace this step's query or filter. Conditions that must survive preparation belong in QueryPolicy. Backend execution and result processing are outside this step.

Filters run one after another by order, lowest first (9.x @Order); filters of one order keep their registration order.

Properties

Link copied to clipboard
open val order: Int

Where this filter runs among the others, lowest first.

Functions

Link copied to clipboard
open suspend fun <Q : RewritableFilter<Q>> prepare(context: QueryContext<Q>): Q