Udostępnij za pośrednictwem


CompositePath.Order Property

Definition

Gets or sets the sort order for the composite path. For example if you want to run the query "SELECT * FROM c ORDER BY c.age asc, c.height desc", then you need to make the order for "/age" "ascending" and the order for "/height" "descending".

[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
[Newtonsoft.Json.JsonProperty(PropertyName="order")]
public Microsoft.Azure.Cosmos.CompositePathSortOrder Order { get; set; }
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))>]
[<Newtonsoft.Json.JsonProperty(PropertyName="order")>]
member this.Order : Microsoft.Azure.Cosmos.CompositePathSortOrder with get, set
Public Property Order As CompositePathSortOrder

Property Value

Attributes
Newtonsoft.Json.JsonConverterAttribute Newtonsoft.Json.JsonPropertyAttribute

Applies to