Company
Date Published
Author
Jeff Morris, Senior Software Engineer, Couchbase
Word count
1583
Language
English
Hacker News points
None

Summary

This release of the Couchbase .NET SDK brings significant features with version 2.2.0, including feature compatibility with Couchbase Server 4.0 GA, N1QL support, multidimensional scaling (MDS) support, enhanced durability, and GEO Spatial Views. The new SQL-like query language for JSON, N1QL, allows users to query JSON documents in a more efficient and scalable way. The QueryRequest class provides a type-safe interface for executing queries, handling retry logic, uniform distribution of queries, and mapping query results to POCOs. The QueryResult class contains notable properties and methods such as Success, Message, Exception, Rows, Status, Errors, Warnings, Metrics, and HttpStatusCode. Prepared statements are supported to improve overall performance and server health. Enhanced durability allows enforcing durability constraints with a replica sequence number to determine if a key has achieved the desired ability. GEO Spatial Views provide support for querying geographic ranges using Map functions in JavaScript. The SDK is available for download directly, through NuGet, or by cloning and pulling the Github repo.