Comments (2)
用 ds_hdel
ds_hdel <KEY> 删除整个hash
ds_hdel <KEY> <FIELD> 删除某个 field
ds_hdel <KEY> <FIELD_1> <FIELD_2> 删除多个 fields
https://github.com/qiye/redis-storage/blob/master/src/ds.c#L1874
from redis-storage.
谢谢回复。
感觉这样缩小了del的使用范围,可能会带来隐患。建议在文档中说明一下吧。
from redis-storage.
Related Issues (20)
- rl_系列命令有问题 HOT 6
- ds_append 命令错误操作 HOT 4
- ds_keys_asc,ds_keys_desc 导致 redis-storage 崩溃 HOT 3
- 编译问题 HOT 13
- 启动运行出错 HOT 3
- 编译找不到libleveldb库 HOT 1
- ds.c补丁,修复ds_hgetall崩溃的问题,另外将一些返回值与redis保持一致 HOT 1
- 是否有必要重新规划hash和后面zset功能的key的组织方式 HOT 6
- 贡献一个python客户端 HOT 2
- 运行问题? HOT 2
- make init error HOT 1
- ds_set 可以代替 ds_update来用
- 支持过期机制么? HOT 3
- leveldb update 问题 HOT 1
- 主从的话一台机子行不 HOT 1
- 是否可以支持 redis 3
- 这个项目是不维护了吧,很久没有更新了
- 编译出错 ds.c HOT 2
- ds_mget返回格式变了 HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redis-storage.