Book Image

Couchbase Essentials

Book Image

Couchbase Essentials

Overview of this book

Table of Contents (15 chapters)
Couchbase Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Couchbase Ruby SDK


The Couchbase Ruby SDK is a Python library wrapping the Couchbase C SDK. Before installing this library, the C library must be installed.

Current version

Currently, the latest version is 1.3. This SDK should be used for all development against Couchbase Server versions from 2.5 to 3.x.

How to obtain it

Ruby users can find the Couchbase Ruby SDK through the gem package manager as follows:

$ gem install couchbase

The basics

The following snippet demonstrates the basics of using the Couchbase PHP SDK:

client = Couchbase.connect(:bucket=>'default', :host=>'localhost')