当前位置:网站首页>011_ Redistemplate operation hash
011_ Redistemplate operation hash
2022-04-23 02:09:00 【_ yummy_】
011_RedisTemplate operation Hash
1、 The test code is shown in the figure :
@Test
void testHash(){
stringRedisTemplate.opsForHash().put("user:103","name"," Li Yifeng ");
stringRedisTemplate.opsForHash().put("user:103","age","21");
Map<Object, Object> entries = stringRedisTemplate.opsForHash().entries("user:103");
System.out.println(entries);
}
2、 Run the test

3、 About hash Some methods of type operation are shown in the figure .


About redis The study of the basic knowledge of introduction is coming to an end ! We will fight together in the follow-up meeting redis Application in practical projects .
版权声明
本文为[_ yummy_]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230202506490.html
边栏推荐
- 如何设置电脑ip?
- Applet reads files
- 每日一题(2022-04-22)——旋转函数
- 代理IP可用率是不是等同于代理IP的效率?
- 在使用代理IP前需要了解哪些分类?
- They are all intelligent in the whole house. What's the difference between aqara and homekit?
- [assembly language] understand "stack" from the lowest point of view
- Lane cross domain problem
- Kubernetes cluster installation based on Kirin SP10 server version
- Is CICC fortune a company with CICC? Is it safe
猜你喜欢

用TensorFlow实现线性回归(包括过程中出现的问题及解决方法)

什么是代理IP池,如何构建?

How to set computer IP?

Applet canvas canvas half ring

BGP服务器在什么业务场景会被用到?

Shardingsphere sub database and sub table

What is a proxy IP pool and how to build it?

How does Axure set the content of the text box to the current date when the page is loaded

Campus transfer second-hand market source code

89 régression logistique prédiction de la réponse de l'utilisateur à l'image de l'utilisateur
随机推荐
[nk]牛客月赛48 D
一加一为什么等于二
[chrome extender] content_ Cross domain problem of script
LeetCode 283. Move zero (simple, array) Day12
[Dahua cloud native] micro service chapter - service mode of five-star hotels
使用代理IP是需要注意什么?
小程序 canvas 画布半圆环
What are the test steps of dynamic proxy IP?
Is CICC fortune a company with CICC? Is it safe
How to set computer IP?
在使用代理IP前需要了解哪些分类?
我国科学家揭示突破水稻产量瓶颈新机制
Dynamic batch processing and static batch processing of unity
关于局域网浅谈
What is an API interface?
tp6阿里云短信 window 报 cURL error 60: SSL certificate problem: unable to get local issuer certificate
What business scenarios will the BGP server be used in?
012_ Access denied for user ‘root‘@‘localhost‘ (using password: YES)
If 404 page is like this | daily anecdotes
PTA: 浪漫倒影 [二叉树重建] [深度优先遍历]