Search:

Search all manuals
Search this manual
Manual
Couchbase Client Library: Python 1.0
Community Wiki and Resources
Download Client Library
Python Client Library
SDK Forum
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
Couchbase Client Library: Python 1.0
Child Sections
Chapters

Chapter 4. Store Operations

Table of Contents

4.1. Add Operations
4.2. Set Operations
4.3. Replace Operations

The Couchbase Python 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 4.1. Python Client Library Store Methods

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