Class ODataFilter<T>

OData filter builder

Type Parameters

  • T = any

Hierarchy

Constructors

Properties

_fieldExprMappings: FieldExprMappings = {}

Methods

  • Parameters

    • field: string

    Returns string

  • build filter to string

    Returns string

  • filter property

    Parameters

    • name: keyof T

      field name or function expression

    Returns ODataPropertyExpr<ODataFilter<T>>

    See

    property

  • The value of a field matches any value in the list.

    Parameters

    • name: keyof T
    • values: string[]

    Returns ODataFilter<T>

    Deprecated

    please use filter.field().in()

  • The value of a field matches any value in the list.

    Parameters

    • name: keyof T
    • values: string[] = []

    Returns ODataFilter<T>

    Deprecated

    please use filter.field().in()

  • Private Internal

    getExprMapping

    Returns FieldExprMappings

  • DEPRECATED

    please use betweenDateTime/betweenDateTimeOffset

    Parameters

    • name: keyof T
    • start: Date
    • end: Date

    Returns ODataFilter<T>

    Deprecated

Generated using TypeDoc