redisjson Questions

2

I was trying to set JSON as value in Redis, and I am getting an error for the following code: const createClient = require('redis'); async function redisJSONDemo () { try { const TEST_KEY = 'te...
Larsen asked 5/1, 2022 at 7:31

2

I have followed the tutorial and run: docker run -p 6379:6379 --name redis-rejson redislabs/rejson:latest But when I try to run redis-cli and then json.get, I got: ERR unknown command 'JSON.SE...
Socket asked 30/8, 2018 at 9:53

10

Solved

The hmset function can set the value of each field, but I found that if the value itself is a complex structured object, the value return from hget is a serialized string, not the original object ...
Quoin asked 5/3, 2013 at 9:14

1

Solved

I'm at a point where I could store a resource in Redis as either hash or RedisJSON. My particular data in this instance is are temporary data objects consisting of several string and numeric fields...
Candleberry asked 25/5, 2020 at 21:21

1

Solved

I am going to use Redis to store json documents that will have nested structure. My requirement is just to set and get the documents. I have no need to perform any json specific commands on the doc...
Xantho asked 5/12, 2018 at 1:57
1

© 2022 - 2024 — McMap. All rights reserved.