Home > doofinder > QuerySort

QuerySort class

Class to manage sorting information for a search query.

Signature:

export declare class QuerySort 

Methods

Method Modifiers Description
add(value, order)   Add a sorting to the end of the list of sortings.
add(value)   Add a sorting to the end of the list of sortings.
clear()   Clear the current list of sortings.
get()   Get the current list of sortings.
has(value)   Get if certain FieldSorting is being used to sort.
set(value, order)   Set one or more values to sort the query.
set(value)   Set one or more values to sort the query.
set(value)   Set one or more values to sort the query.