public sealed class StructuredQuery.Types.Order : IMessage<StructuredQuery.Types.Order>, IEquatable<StructuredQuery.Types.Order>, IDeepCloneable<StructuredQuery.Types.Order>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore v1 API class StructuredQuery.Types.Order.
An order on a field.
Implements
IMessageStructuredQueryTypesOrder, IEquatableStructuredQueryTypesOrder, IDeepCloneableStructuredQueryTypesOrder, IBufferMessage, IMessageNamespace
Google.Cloud.Firestore.V1Assembly
Google.Cloud.Firestore.V1.dll
Constructors
Order()
public Order()
Order(Order)
public Order(StructuredQuery.Types.Order other)
Parameter | |
---|---|
Name | Description |
other | StructuredQueryTypesOrder |
Properties
Direction
public StructuredQuery.Types.Direction Direction { get; set; }
The direction to order by. Defaults to ASCENDING
.
Property Value | |
---|---|
Type | Description |
StructuredQueryTypesDirection |
Field
public StructuredQuery.Types.FieldReference Field { get; set; }
The field to order by.
Property Value | |
---|---|
Type | Description |
StructuredQueryTypesFieldReference |