Memcached::appendByKey
(PECL memcached >= 0.1.0)
Memcached::appendByKey — Append data to an existing item on a specific server
Opis
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.
Parametry
-
server_key -
Klucz identyfikujący serwer do przechowywania wartości.
-
key -
Klucz określający przechowywaną wartość.
-
value -
The string to append.
Zwracane wartości
Zwraca TRUE w przypadku powodzenia, FALSE w
przypadku błędu.
The Memcached::getResultCode() will return
Memcached::RES_NOTSTORED if the key does not exist.
Zobacz też:
- Memcached::append() - Append data to an existing item
- Memcached::prepend() - Prepend data to an existing item
There are no user contributed notes for this page.
