redis json存储。
reids-json-storage的Python项目详细描述
redis json存储图片::https://travis-ci.org/appstore-zencore/rjs.svg?branch=master
:目标:https://travis ci.org/appstore zencore/rjs
reids json存储。将json数据作为hashmap存储在redis中。
install
----
::
class&methods
----
1。json storage
>a.更新
>b.获取
>c.删除
>d.删除
>
>>
示例
-
:
connection=make redis-redis-u-redis-u connect(config)
>storage=jsonstorage(connection)
data1=
“a”:1,
“a”:1,
a;d.删除
“b”:2,
}
storage.update(data1)
data2={
“b”:3,
“c”:4,
}
storage.update(data2)
data3=storage.get(key)
:目标:https://travis ci.org/appstore zencore/rjs
reids json存储。将json数据作为hashmap存储在redis中。
install
----
::
class&methods
----
1。json storage
>a.更新
>b.获取
>c.删除
>d.删除
>
>>
示例
-
:
connection=make redis-redis-u-redis-u connect(config)
>storage=jsonstorage(connection)
data1=
“a”:1,
“a”:1,
a;d.删除
“b”:2,
}
storage.update(data1)
data2={
“b”:3,
“c”:4,
}
storage.update(data2)
data3=storage.get(key)