Table of Contents
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
| Method | Title |
|---|---|
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 |