| API Call | $object->flush() |
| Asynchronous | no |
| Description |
Deletes all values from the corresponding bucket
|
| Returns | boolean; supported values: |
| | COUCHBASE_ETMPFAIL | Temporary failure; try the operation again | |
| | COUCHBASE_NOT_MY_VBUCKET | The command was sent to the wrong server; may be triggered during a rebalance or failover operation. Retry the operation | |
| | COUCHBASE_SUCCESS | Operation succeeded | |
| Arguments | |
| | None | | |
| Errors | |
CouchbaseAuthenticationException |
Authentication to the Couchbase cluster failed
|
CouchbaseException |
Base exception class for all Couchbase exceptions
|
CouchbaseIllegalKeyException |
The key provided is not a legal key identifier
|
CouchbaseLibcouchbaseException |
An error occurred within the libcouchbase library used by
th PHP extension
|
CouchbaseServerException |
An error occurred within the Couchbase cluster
|