API Docs for:
Show:

IntegerFilterOptions Class

Extends FilterOptions
Module: OData

Integer where clause filter class.

Methods

_cleanEndpointUrl

(
  • url
)
String private

Make sure there is a trailing /.

Parameters:

  • url String

    The endpoint url.

Returns:

String:

The cleaned endpoint url.

_extend

(
  • base
  • child
)
Function private

Gives the child object a copy of the parent object's prototype.

Parameters:

  • base Function

    The base method whose prototype will be copied.

  • child Function

    The child method who will get a copy of the parent's prototype.

Returns:

Function:

The augmented child method.

format

() private

Extend the built in String class with a format function.

getWhereQuery

(
  • propNames
  • operator
  • value
)
String

Base query string for each type of filter.

Parameters:

  • propNames Array | String

    The list of property names.

  • operator String

    The comparator for this filter.

  • value Array | String

    The value of the property.

Returns:

String:

The query string for the specified where filter.

init

(
  • options
)

Where clause filter base class init method.

Parameters:

  • options Object

    Options to set on each where filter.