Class: Order

Order

new Order()

Creates a new Order. Use factories of implementing classes.
Source:

Members

ascending :boolean

Is the order ascending?
Type:
  • boolean
Source:

<abstract> type :boolean

The type of the order, overwritten by concrete implmentations
Type:
  • boolean
Source:

Methods

asc() → {Order}

Change the order to ascending
Source:
Returns:
the same order for chaining
Type
Order

desc() → {Order}

Change the order to descending.
Source:
Returns:
the same order for chaining
Type
Order

toHttpMap() → {*}

Create the http map for an order
Source:
Returns:
a mixed object with the Order
Type
*