My goal is to get sorted items from NoSQL Cosmos DB after my request. Here is the part of my Rust code:
let mut query_builder = get_collection_client(collection_name)?
.query_documents(Query::new(
"SELECT * FROM dwellings c ORDER BY c.price".to_string())
)
.max_item_count(item_count);
But result of the query: server returned error status which will not be retried: 400.
If I run this query exactly in Azure CosmosDB Data Explorer, query returns expected result.
My goal is to get sorted items from NoSQL Cosmos DB after my request. Here is the part of my Rust code:
But result of the query: server returned error status which will not be retried: 400. If I run this query exactly in Azure CosmosDB Data Explorer, query returns expected result.