Class ODataFilter<T>

OData filter builder

Type Parameters

  • T = any

Hierarchy (view full)

Constructors

Properties

_fieldExprMappings: FieldExprMappings = {}

Methods

  • Parameters

    • field: string

    Returns string

  • Parameters

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

    Returns this

    Deprecated

  • 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 this

    Deprecated

    please use filter.field().in()

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

    Parameters

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

    Returns this

    Deprecated

    please use filter.field().in()

  • Private Internal

    getExprMapping

    Returns FieldExprMappings

  • Parameters

    Returns this

    Deprecated

    c4codata will auto group exprs

  • Parameters

    • name: keyof T
    • date: Date

    Returns this

    Deprecated

  • Parameters

    • name: keyof T
    • date: Date

    Returns this

    Deprecated

  • DEPRECATED

    please use betweenDateTime/betweenDateTimeOffset

    Parameters

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

    Returns this

    Deprecated

  • Parameters

    • name: keyof T
    • date: Date

    Returns this

    Deprecated

  • Parameters

    • name: keyof T
    • date: Date

    Returns this

    Deprecated