Search:

Search all manuals
Search this manual
Manual
Couchbase Client Library Ruby 1.0
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
Couchbase Client Library Ruby 1.0
Child Sections
Chapters

Chapter 5. Ruby — Storage Operations

Table of Contents

5.1. Add Operations
5.2. Replace Operations
5.3. Set Operations
5.4. Flush Operation

The Couchbase Ruby Client Library store operations set information within the Couchbase database. These are distinct from the update operations in that the key does not have to exist within the Couchbase database before being stored.

Table 5.1. Ruby Client Library Store Methods

MethodTitle
object.add(key, value, options) Add a value with the specified key that does not already exist
object.replace(key, value [, ruby-replace-options ]) Update an existing key with a new value
object.set(key, value, options) Store a value using the specified key