Memcached::appendByKey
(PECL memcached >= 0.1.0)
Memcached::appendByKey — Append data to an existing item on a specific server
Beschreibung
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.
Parameter-Liste
-
server_key -
Ein Schlüssel, der den Server bestimmt, auf dem die Daten abgelegt werden sollen.
-
key -
Der Schlüssel, unter dem der Wert abgelegt werden soll.
-
value -
The string to append.
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
The Memcached::getResultCode() will return
Memcached::RES_NOTSTORED if the key does not exist.
Siehe auch
- 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.
