| API Call | $object->getDelayed($keyn [, $with_cas ] [, $callback ]) | ||
| Asynchronous | yes | ||
| Description | Get one or more key values | ||
| Returns | boolean; supported values: | ||
COUCHBASE_KEY_ENOENT | Requested document ID does not exist | ||
COUCHBASE_SUCCESS | Operation succeeded | ||
| Arguments | |||
array $keyn | One or more keys used to reference a value | ||
boolean $with_cas | Whether to return the CAS value for a document | ||
mixed $callback | Callback function or method to be called | ||
| API Call | $object->fetch($key [, $keyn ]) | ||
| Asynchronous | yes | ||
| Description | Fetch the next delayed result set document | ||
| Returns | array (
An array of the next document retrieved, or NULL if no more
documents
) | ||
| Arguments | |||
string $key | Document ID used to identify the value | ||
array $keyn | One or more keys used to reference a value | ||
| API Call | $object->fetchAll($key [, $keyn ]) | ||
| Asynchronous | yes | ||
| Description | Fetch all the delayed result set documents | ||
| Returns | array (
An array of all the remaining documents retrieved, or NULL if no
more documents
) | ||
| Arguments | |||
string $key | Document ID used to identify the value | ||
array $keyn | One or more keys used to reference a value | ||