Step into Redis- 06 - 数据库
来源:互联网 发布:sg软件是什么意思啊 编辑:程序博客网 时间:2024/05/05 23:49
目录
- 数据库
- 概述
- 作用
- 选择数据库
- 移动键
- 数据库
摘要
默认数据库,选择数据库,移动操作
数据库
概述
Redis 的数据库以数字为键,默认的数据库为 0
。
作用
如使用国际化时可以使用相同的键保存数据到不同的数据库中,取数据时根据对于的语言去不同数据库检索。
选择数据库
SELECT 1
移动键
该命令允许从一个数据库中移出指定键到其它数据库中
MOVE greeting 2
0 0
- Step into Redis- 06 - 数据库
- Step into Redis- 03 - 事务
- Step into Redis- 08 - 配置
- Step into Redis- 01 - 安装与运行
- Step into Redis- 04 - 复杂数据类型
- Step into Redis- 05 - 过期时间
- Step into Redis- 07 - 发布者-订阅者
- Step into Redis- 09 - 主从复制
- Step into Redis- 10 - 比特操作
- Step into Kotlin - 06 - 异常
- step into step out
- Step into Redis- 02 - set ,get & incr ,decr
- Step into MongoDB - 06 - 更新操作
- Step into Scala - 06 - 流程控制
- Step into Gradle - 06 - 文件管理
- step into step over step return区别
- step into step over step return区别
- step into uml
- P123 第三章 29题 产生随机数
- 详解volatile关键词的用法2
- 个人支付
- 常用的编译上面的问题方法
- 关键字static完全解析
- Step into Redis- 06 - 数据库
- JSP 九大隐式对象
- 连载1第一篇:初到“无线互联”
- BufferedReader和BufferedWriter
- 在eclipse中配置web应用
- 简单侧滑
- Can't create temporary file from template 'win32-x86/bin/.svn/tmp/svn-XXXXXX
- 欢迎使用CSDN-markdown编辑器
- @RequestParam @RequestBody @PathVariable 等参数绑定注解详解