skip to Main Content

RedisJSON – Manipulating the JSON array of objects (Using Node Redis client)

This is the data [ { "senderID": "64d9c926c17fd183a93d5e35", "receiverID": "64d9c92dc17fd183a93d5e39", "timestamp": "2023-08-14T07:39:45.946Z", "content": "bru", "status": "delivered", "type": "chat", "messageID": "8188946b-67e4-4d86-a927-32842361825c" },........ ] I just want to select all the status sent and change status to delivered if (messageIDs.length === 0)…

VIEW QUESTION

Reactively write to redis in `REDISJSON` format

I am using ReactiveRedisOperations with the driver of lettuce to write to Redis. @Autowired ReactiveRedisOperations<String, Foo> redisOperation; public Mono<Boolean> save(Foo foo) { redisOperation.map(operation -> operation .opsForValue() .set(foo.getId(), foo); return Mono.just(true); } The serialization is defined as private <T> ReactiveRedisOperations<String, T>…

VIEW QUESTION

Support for pipeline with redis-json in Golang

We recently started to work with redis-json (github.com/nitishm/go-rejson/v4) and redis-search (github.com/RediSearch/redisearch-go/redisearch) clients in Golang. We need to support bulk insert operations of json objects and we don't want to use transactions. Is there a way to implement a pipeline with…

VIEW QUESTION
Back To Top
Search