QuerySortBy Class

Specifies how to sort the query results.

Constructor

QuerySortBy(*args: Any, **kwargs: Any)

Variables

Name Description
direction

The direction to sort the results by. Known values are: "ASC" and "DESC".

field
str

Represents the field to sort the results by.

Attributes

direction

"ASC" and "DESC".

direction: str | _models.SortingDirection | None

field

Represents the field to sort the results by.

field: str | None