You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For more information on TTL, see [Time to Live for Azure Cosmos DB data][cosmos_ttl].
435
435
436
-
### Using the asynchronous client
436
+
### Using the asynchronous client (Preview)
437
437
438
438
The asynchronous cosmos client is a separate client that looks and works in a similar fashion to the existing synchronous client. However, the async client needs to be imported separately and its methods need to be used with the async/await keywords.
439
439
@@ -483,7 +483,7 @@ async with CosmosClient(URL, credential=KEY) as client: # the with statement wil
483
483
)
484
484
```
485
485
486
-
### Queries with the asynchronous client
486
+
### Queries with the asynchronous client (Preview)
487
487
488
488
Unlike the synchronous client, the async client does not have an `enable_cross_partition` flag in the request. Queries without a specified partition key value will attempt to do a cross partition query by default.
0 commit comments