Class StructuredQuery.Types.Order (2.3.0)

public sealed class Order : IMessage<StructuredQuery.Types.Order>, IEquatable<StructuredQuery.Types.Order>, IDeepCloneable<StructuredQuery.Types.Order>, IBufferMessage, IMessage

An order on a field.

Inheritance

Object > StructuredQuery.Types.Order

Namespace

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

Order()

public Order()

Order(StructuredQuery.Types.Order)

public Order(StructuredQuery.Types.Order other)
Parameter
NameDescription
otherStructuredQuery.Types.Order

Properties

Direction

public StructuredQuery.Types.Direction Direction { get; set; }

The direction to order by. Defaults to ASCENDING.

Property Value
TypeDescription
StructuredQuery.Types.Direction

Field

public StructuredQuery.Types.FieldReference Field { get; set; }

The field to order by.

Property Value
TypeDescription
StructuredQuery.Types.FieldReference