v1.2.1
Latest
2020.3+

Class QueryOrder

An order for an individual field that is applied to a query.

Inheritance
QueryOrder
Namespace: Unity.Services.Lobbies.Models
Syntax
[Preserve]
public class QueryOrder

Constructors

QueryOrder(Boolean, QueryOrder.FieldOptions)

An order for an individual field that is applied to a query.

Declaration
[Preserve]
public QueryOrder(bool asc = false, QueryOrder.FieldOptions field = (QueryOrder.FieldOptions)0)
Parameters
TypeNameDescription
Booleanasc

Whether to sort in ascending or descending order.

QueryOrder.FieldOptionsfield

The name of the field to order on.

Properties

Asc

Whether to sort in ascending or descending order.

Declaration
[Preserve]
public bool Asc { get; }
Property Value
TypeDescription
Boolean

Field

The name of the field to order on.

Declaration
[Preserve]
public QueryOrder.FieldOptions Field { get; }
Property Value
TypeDescription
QueryOrder.FieldOptions