Skip to main content

Order

Definição do objeto Order para ordenação de resultados usando o Query.


getColumn


getColumn() : string

Description

Returns the column that will be used in sorting.

Return

( string )

The name of the column.


getOrder


getOrder() : string

Description

Returns the sorting direction.

Return

( string )

The sorting direction.


setColumn


setColumn(column: string) : Order

Description

Defines the column that will be used in sorting.

Attributes
NAMETYPEDESCRIPTION
columnstringThe name of the column.
Return

( Order )

Current Order object.


setOrder


setOrder(order: string) : Order

Description

Defines the sorting direction.

Attributes
NAMETYPEDESCRIPTION
orderstringThe sorting direction.
Return

( Order )

Current Order object.