Azure DocumentDB SDK updated with support for Python 3

Azure DocumentDB

Microsoft today announced updates to all four of Azure DocumentDB’s client-side SDKs. The Python SDK now comes with support for Python 3, connection pooling, consistency improvements, and Top/Order By support for partitioned collections.

Connection pooling is now built in, so instead of creating a new connection for each request, calls to the same host are now added to the same session, saving the cost of creating a new connection each time. We also added a few enhancements to consistency level support, and we added Top and Order By support for cross-partition queries, so you can retrieve the top results from multiple partitions and order those results based on the property you specify.

The new DocumentDB .NET SDK now has direct connectivity support for partitioned collections. .NET SDK improves performance for the Bounded Staleness consistency level, and adds LINQ support for StringEnumConverter, IsoDateTimeConverter and UnixDateTimeConverter while translating predicates.

In Java and Node.JS SDKs, they have changed Top and Order By support to include queries across partitions within a collection.

Some links in the article may not be viewable as you are using an AdBlocker. Please add us to your whitelist to enable the website to function properly.