downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Memcached::cas> <Memcached::append
Last updated: Fri, 20 May 2011

view this page in

Memcached::appendByKey

(PECL memcached >= 0.1.0)

Memcached::appendByKeyAñadir datos a un ítem existente en un servidor específico

Descripción

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

Memcached::appendByKey() esta funcionalidad es equivalente a Memcached::append(), excepto que se puede usar server_key para apuntar la key a un servidor específico.

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

El string a añadir.

Valores devueltos

Devuelve TRUE en caso de éxito o FALSE en caso de error. The Memcached::getResultCode() devolverá Memcached::RES_NOTSTORED si clave no existe.

Ver también



add a note add a note User Contributed Notes Memcached::appendByKey
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites