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...
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...
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
...
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...
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...
1
© 2022 - 2024 — McMap. All rights reserved.