#最近在研究NOSQL中的Redis的安装以及连接服务器
Preparation: Windows working platform, redis database, please download the website and extract it to the local disk to install the Redis process I do not detail: The following two pictures
let's go to the second section: Reopen a DOS command box to open the client: Redis with the client: command as follows Redis-cli.exe-h 127.0.0.1-p 6379 the following figure * Enter ping on the DOS command line if p appears below Ong, it's OK now we can do our data access operation *
First, we introduce the function of key-value access in Redis
Keywords:
Set the single key value set KeyName value; corresponding to get keyname;
Sets the specified property in the object Hset key KeyName filed Value:hget key filed
The above single key value pair setting can access the single key value,
Hset and Hget are key-value pairs in the Access object