Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Redis lua samples

The purpose of this repo is to provide some examples of using lua with redis.

Redis lua debugger

https://redis.io/topics/ldb

$ redis-cli --ldb --eval scripts/debug.lua

Redis lua and json

https://www.kyne.com.au/~mark/software/lua-cjson-manual.html

$ redis-cli --eval scripts/json.lua
1) "[1]"
2) "{\"a\":\"oof\"}"
3) "a"

The limitations of cjson within the redis should discourage you from using it for redis lua scripting.

About

Collection of lua scripts examples in Redis.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages