feat: redis hgetall
parent
a382f0784a
commit
63850839d5
|
@ -567,6 +567,14 @@ internal
|
|||
>Connect Redis with
|
||||
<a href="https://github.com/redis/go-redis">redis/go-redis</a>
|
||||
</h3>
|
||||
<p>
|
||||
Be careful when use
|
||||
<a href="https://redis.io/commands/hgetall/" rel="nofollow">HGETALL</a>.
|
||||
If key not found, empty data will be returned not nil error. See
|
||||
<a href="https://github.com/redis/go-redis/issues/1668"
|
||||
>redis/go-redis/issues/1668</a
|
||||
>
|
||||
</p>
|
||||
<p>
|
||||
Use
|
||||
<a
|
||||
|
|
|
@ -288,6 +288,10 @@ I hear that [go-gorm/gorm](https://github.com/go-gorm/gorm), [ent/ent](https://g
|
|||
|
||||
### Connect Redis with [redis/go-redis](https://github.com/redis/go-redis)
|
||||
|
||||
Be careful when use [HGETALL](https://redis.io/commands/hgetall/).
|
||||
If key not found, empty data will be returned not nil error.
|
||||
See [redis/go-redis/issues/1668](https://github.com/redis/go-redis/issues/1668)
|
||||
|
||||
Use [Pipelines](https://redis.uptrace.dev/guide/go-redis-pipelines.html) for:
|
||||
|
||||
- HSET and EXPIRE in 1 command.
|
||||
|
|
Loading…
Reference in New Issue