Memcached
PHP Manual

Memcached::appendByKey

(PECL memcached >= 0.1.0)

Memcached::appendByKeyAppend data to an existing item on a specific server

Descripción

public bool Memcached::appendByKey ( string $server_key , string $key , string $value )

Memcached::appendByKey() is functionally equivalent to Memcached::append(), except that the free-form server_key can be used to map the key to a specific server.

Parámetros

server_key

La clave que identifica el servidor en donde guardar el valor.

key

La claven en donde se guardará el valor.

value

The string to append.

Valores devueltos

Devuelve TRUE en caso de éxito o FALSE en caso de error. The Memcached::getResultCode() will return Memcached::RES_NOTSTORED if the key does not exist.

Ver también


Memcached
PHP Manual