Company
Date Published
Author
Sergey Avseyev, SDK Engineer, Couchbase
Word count
288
Language
English
Hacker News points
None

Summary

The announcement introduces a preview of the next-generation API for the Ruby client, aligning it with other SDKs that recently adopted a document-oriented API. Currently, the release is accessible only for the JRuby implementation, with a CRuby version forthcoming. The preview demonstrates a new way to interact with documents in a Couchbase cluster, showcasing operations such as retrieving, updating, and querying documents within a bucket. The new API also allows for counting operations based on query results, exemplified by counting countries with more than 10 breweries. The updated version is available for installation through RubyGems and can be incorporated using a Gemfile. Feedback is encouraged on the new forum provided by Couchbase.