| API Call | $object->get($key [, $callback ] [, $casunique ]) |
| Asynchronous | no |
| Description |
Get one or more key values
|
| Returns | scalar; supported values: |
| | COUCHBASE_KEY_ENOENT | Requested document ID does not exist | |
| | object | Requested object | |
| Arguments | |
string $key |
Document ID used to identify the value
|
mixed $callback |
Callback function or method to be called
|
$casunique |
Unique value used to verify a key/value combination
|
| 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
|