8000 Keys and strings toc import · jrtkcoder/phpredis@dce8a70 · GitHub
[go: up one dir, main page]

Skip to content

Commit dce8a70

Browse files
author
Tit Petric
committed
Keys and strings toc import
1 parent 968d3fd commit dce8a70

File tree

1 file changed

+44
-1
lines changed

1 file changed

+44
-1
lines changed

README.markdown

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,49 @@ $redis->time();
533533

534534
## Keys and Strings
535535

536+
### Strings
537+
-----
538+
539+
* [append](#append) - Append a value to a key
540+
* [bitcount](#bitcount) - Count set bits in a string
541+
* [bitop](#bitop) - Perform bitwise operations between strings
542+
* [decr, decrBy](#decr-decrby) - Decrement the value of a key
543+
* [get](#get) - Get the value of a key
544+
* [getBit](#getbit) - Returns the bit value at offset in the string value stored at key
545+
* [getRange](#getrange) - Get a substring of the string stored at a key
546+
* [getSet](#getset) - Set the string value of a key and return its old value
547+
* [incr, incrBy](#incr-incrby) - Increment the value of a key
548+
* [incrByFloat](#incrbyfloat) - Increment the float value of a key by the given amount
549+
* [mGet, getMultiple](#mget-getmultiple) - Get the values of all the given keys
550+
* [mSet, mSetNX](#mset-msetnx) - Set multiple keys to multiple values
551+
* [set](#set) - Set the string value of a key
552+
* [setBit](#setbit) - Sets or clears the bit at offset in the string value stored at key
553+
* [setex, psetex](#setex-psetex) - Set the value and expiration of a key
554+
* [setnx](#setnx) - Set the value of a key, only if the key does not exist
555+
* [setRange](#setrange) - Overwrite part of a string at key starting at the specified offset
556+
* [strlen](#strlen) - Get the length of the value stored in a key
557+
558+
### Keys
559+
-----
560+
561+
* [del, delete](#del-delete) - Delete a key
562+
* [dump](#dump) - Return a serialized version of the value stored at the specified key.
563+
* [exists](#exists) - Determine if a key exists
564+
* [expire, setTimeout, pexpire](#expire-settimeout-pexpire) - Set a key's time to live in seconds
565+
* [expireAt, pexpireAt](#expireat-pexpireat) - Set the expiration for a key as a UNIX timestamp
566+
* [keys, getKeys](#keys-getkeys) - Find all keys matching the given pattern
567+
* [migrate](#migrate) - Atomically transfer a key from a Redis instance to another one
568+
* [move](#move) - Move a key to another database
569+
* [object](#object) - Inspect the internals of Redis objects
570+
* [persist](#persist) - Remove the expiration from a key
571+
* [randomKey](#randomkey) - Return a random key from the keyspace
572+
* [rename, renameKey](#rename-renamekey) - Rename a key
573+
* [renameNx](#renamenx) - Rename a key, only if the new key does not exist
574+
* [type](#type) - Determine the type stored at key
575+
* [sort](#sort) - Sort the elements in a list, set or sorted set
576+
* [ttl, pttl](#ttl-pttl) - Get the time to live for a key
577+
* [restore](#restore) - Create a key using the provided serialized value, previously obtained with [dump](#dump).
578+
536579
### get
537580
-----
538581
_**Description**_: Get the value related to the specified key
@@ -799,7 +842,7 @@ $redis->get('x'); // → `FALSE`
799842
-----
800843
_**Description**_: Same as rename, but will not replace a key if the destination already exists. This is the same behaviour as setNx.
801844

802-
### setTimeout, expire, pexpire
845+
### expire, setTimeout, pexpire
803846
-----
804847
_**Description**_: Sets an expiration date (a timeout) on an item. pexpire requires a TTL in milliseconds.
805848

0 commit comments

Comments
 (0)
0