Skip to main content

BaseODataFilter

Necessary data for constructing oData filter expressions.

Type Parameters

T

T = unknown

Type of the value being filtered

Properties

comparisonType?

optional comparisonType: number

Comparison operation type


lambdaConfig?

optional lambdaConfig: ODataLambdaConfig

Configuration for lambda expressions


leftSide?

optional leftSide: string

Left side of the comparison expression. Typically represents the property name or field path to filter on. For many-to-many relations, uses format 'ManyToManyResource/property' (e.g., 'StudentCourse/courseId').


logicalOperationType?

optional logicalOperationType: number

Logical operation type for setting operations between filters. Defines how the current filter will be combined with previous filters. Possible values oDataLogicalOperationTypes.and or oDataLogicalOperationTypes.or. Processing order is left to right, 'and' has higher priority than 'or' (groups by 'and' first, then by 'or').


operator?

optional operator: string

Comparison operator that stands between leftSide and rightSide in the query expression.


rightSide?

optional rightSide: unknown

Right side value for comparison. For array operations, this can be an array of values.


type?

optional type: ODataFilterType

OData filter operation type