Mageia Bugzilla – Attachment 10590 Details for
Bug 24042
Update Candidate: Redis 4.0.12
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Very basic tutorial script for the redis server
tutorial (text/plain), 410 bytes, created by
Len Lawrence
on 2018-12-22 19:54:42 CET
(
hide
)
Description:
Very basic tutorial script for the redis server
Filename:
MIME Type:
Creator:
Len Lawrence
Created:
2018-12-22 19:54:42 CET
Size:
410 bytes
patch
obsolete
>SET server:name "pluto" >GET server:name >set connections 7 >incr connections >incr connections >get connections >del connections >incr connections >set resource:lock "Redis Demo 1" >expire resource:lock 40 >ttl resource:lock >ttl resource:lock >ttl resource:lock >set resource:lock "Demo 2" >rpush friends "Suzy" >rpush friends "Zack" >lpush friends "David" >lrange friends 0 -1 >lrange friends 0 1 >lrange friends 1 2 >exit > > >
SET server:name "pluto" GET server:name set connections 7 incr connections incr connections get connections del connections incr connections set resource:lock "Redis Demo 1" expire resource:lock 40 ttl resource:lock ttl resource:lock ttl resource:lock set resource:lock "Demo 2" rpush friends "Suzy" rpush friends "Zack" lpush friends "David" lrange friends 0 -1 lrange friends 0 1 lrange friends 1 2 exit
View Attachment As Raw
Actions:
View
Attachments on
bug 24042
: 10590