(redis-body-transform input mopts)
transform body into output form
(redis-body-transform '(+ 1 2 3) {}) => '(return (return-wrap (fn [] (return (+ 1 2 3)))))
transform body into output form (redis-body-transform '(+ 1 2 3) {}) => '(return (return-wrap (fn [] (return (+ 1 2 3)))))
(redis-invoke-ptr-basic {:keys [layout] :as redis :or {layout :flat}} ptr args)
invokes pointer for redis eval
(redis-invoke-ptr-basic (l/rt :lua) k/arr-map [[1 2 3 4 5] k/inc]) => [2 3 4 5 6]
invokes pointer for redis eval (redis-invoke-ptr-basic (l/rt :lua) k/arr-map [[1 2 3 4 5] k/inc]) => [2 3 4 5 6]
(redis-main-wrap body)
(redis-raw-eval redis body)
conducts a raw ewal
(redis-raw-eval (l/rt :lua) "return 1 + 2") => 3
conducts a raw ewal (redis-raw-eval (l/rt :lua) "return 1 + 2") => 3
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close