logo
  • 教程列表
  • SO官方文档
  • 键和值
    • 设置值
    • 设置并获取 int
  1. StackOverflow 文档
  2. StackExchange.Redis 教程
  3. 键和值
  4. 设置值

设置值

Created: November-22, 2018

Redis 中的所有值最终都存储为 RedisValue 类型:

//"myvalue" here is implicitly converted to a RedisValue type
//The RedisValue type is rarely seen in practice.
db.StringSet("key", "aValue");
  • 设置并获取 int
  • 键和值

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明