Tag: Ruby SDK

The Essential Couchbase APIs Cheat Sheet

As a developer, you might want to quickly check out the programming API’s in your favorite language and build your app.  While there is nothing that can replace reading all the API details in the Couchbase Server documentation, a refcard...

/ December 18, 2014

Multiple Bucket Connections in Couchbase and Ruby

c = Couchbase.new(“http://localhost:8091/pools/default/buckets/my-bucket”) I believe it’s safe to say we are mostly all familiar with the above Ruby code.  It establishes a connection from the Ruby SDK to a bucket of our choosing inside our Couchbase cluster.  There are, of...

/ December 16, 2014

Understanding group_level in View Queries with Compound Keys

Querying Views is what views are all about. Our documentation is great and can be found here: http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-views.html Compound Keys Just to illustrate how group level works, let's use a Map function that sorts users by the latest login timestamp, converting...

/ December 16, 2014

Understanding Letter Ordering in View Queries

Map/Reduce Views are an important part of Couchbase 2.0 and understanding how to query them is also important. Our documentation is great and can be found here: http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-views.html One of the subtleties is understanding Unicode Collation ordering of letters which is...

/ December 16, 2014

10 Things Developers Should Know about Couchbase

As a developer, I’ve been using Couchbase Server for couple of months now and I love it. Having written several apps myself, I’ve come to learn many (but not all) of the ins-and-outs of Couchbase. To be a good Couchbase...

/ December 16, 2014