Skip to content
This repository was archived by the owner on Apr 20, 2020. It is now read-only.

RedisJSON/RedisJSON2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub issues CircleCI

RedisJSON

Usage

JSON.INDEX ADD <index> <field> <path>
JSON.INDEX DEL <index> <field>
JSON.INDEX INFO <index> <field>

JSON.QGET <index> <query> <path>
JSON.QSET <index> <query> <path> <json> [NX | XX]
JSON.QDEL <index> <query> <path>

Return value from JSON.QGET is an array of keys and values:

key
json
key
json

In a language such as Java this could be represented as a Map<String, Document>.

A query combining multiple paths:

JSON.QGET mytype "@path1:hello @path2:world" d.name

Build

cargo build --release

Run

redis-server --loadmodule ./target/release/libredisjson.so

About

Rust based RedisJSON implementation - Deprecated and moved to RedisJSON/RedisJSON

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages