Search:

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

Chapter 3. Membase Client Library: Python — Store Operations

Table of Contents

3.1. Add Operations
3.2. Set Operations
3.3. Replace Operations

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

Table 3.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