Search:

Search all manuals
Search this manual
Manual
Couchbase Client Library: PHP 1.1
Community Wiki and Resources
Wiki: PHP Client Library
PHP Client Library
Couchbase Developer Guide 2.0
Couchbase Server Manual 2.0
SDK Forum
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
Couchbase Client Library: PHP 1.1
Child Sections
Chapters

Chapter 7. Update Operations

Table of Contents

7.1. Append and Prepend Operations
7.2. CAS And Locking Operations
7.3. Increment and Decrement Operations
7.4. Touch Operations
7.5. Observing Document Durability
7.6. Delete Operations
7.7. Flush Operation

Table 7.1. PHP Client Library Update Methods

MethodTitle
$object->append($key, $value [, $expiry ] [, $casunique ] [, $persistto ] [, $replicateto ]) Append a value to an existing key
$object->cas($casunique, $key, $value [, $expiry ]) Compare and set a value providing the supplied CAS key matches
$object->decrement($key, $offset) Decrement the value of an existing numeric key
$object->delete($key [, $casunique ]) Delete a key/value
$object->flush() Deletes all values from the corresponding bucket
$object->increment($key [, $offset ] [, $create ] [, $expiry ] [, $initial ]) Increment the value of an existing numeric key
$object->keyDurability($key, $casunique, $durability) Wait until the durability of a document has been reached
$object->keyDurabilityMulti($keycollection, $durability) Wait until the durability of a document has been reached
$object->observe($key, $casunique, $observedetails) Get the durability of a document
$object->observeMulti($keycollection, $observedetails) Get the durability of a document
$object->prepend($key, $value [, $expiry ] [, $casunique ] [, $persistto ] [, $replicateto ]) Prepend a value to an existing key
$object->touch($key, $expiry) Update the expiry time of an item
$object->touchMulti($keyarray, $expiry) Change the expiration time for multiple documents