go-rejson
go-rejson copied to clipboard
Golang client for redislabs' ReJSON module with support for multilple redis clients (redigo, go-redis)
Created functions to use the RedisJSON2 JSON.QGet, JSON.INDEX add and a JSON.SETWithIndex
Please notice all the commands can now get full jsonpath, i.e. dynamic paths that start with a $ sign. As a result all the commands can now return multi parts...
Add support for the following commands: `json.toggle` `json.clear`
Now that we have our first release https://github.com/nitishm/go-rejson/releases/tag/v1.0.0, it makes sense to automate the release process using https://github.com/goreleaser/goreleaser
Is there a way to use a rejson command inside a transaction or pipe? Something like that: ```golang tx := redisClient.TXPipeline() tx.XAdd(&redis.XAddArgs{Stream: stream.Name, ID: "*", Values: map[string]interface{}{"msg": "New stream"}}) tx.JSONSet(streamInfoKey(stream.Name),...
RedisJSON2 was released, and with it has the funcionality of make GET with Queries, which is called JSON.QGET. So, I wanted to do the same in Go, and it didn't...
Is there any way to mock rejson in a mocked Redis server in golang? I am able to mock a Redis server using something like this using [miniredis](https://github.com/alicebob/miniredis) and [redismock](https://github.com/elliotchance/redismock)...
**Is your feature request related to a problem? Please describe.** As described here https://github.com/RedisJSON/RedisJSON/issues/56. I want to set a json key with some expiry. However, I understand it is not...
I use **redis v7** and **go-redis v9**,while go-rejson use **go-redis v8**,their apis have some difference,i cant pass go-redis v9's ***redis.Client** to **SetGoRedisClient function**
I noticed you used go-redis/v9 in your examples and hoped to do the same. When calling: `jsonh.SetGoRedisClientWithContext(context.Background(), client)` I get the following error: `cannot use client (variable of type *"github.com/redis/go-redis/v9".Client)...