Liking cljdoc? Tell your friends :D

hicosql.evaluation


eval-listclj

(eval-list res ex)

Evaluate list

Evaluate list
sourceraw docstring

eval-symbolclj

(eval-symbol res ex)
source

evaluateclj

(evaluate res ex)

Evaluate expression ex with context res - defined queries

Evaluate expression ex with context res - defined queries
sourceraw docstring

evaluate-allclj

(evaluate-all res s)

Replace all expressions starting with & in string s

Replace all expressions starting with & in string s
sourceraw docstring

get-valclj

(get-val res ex)

Get value from queries map

Get value from queries map
sourceraw docstring

replace-functionclj

(replace-function fn-data args)

Replace query which is defined as function in form: f(a,b) | ... fn-data {:type :function :name "function_name" :params ["a", "b"]} args (1, "Hello", previosly_defined_query)

Replace query which is defined as function in form: f(a,b) | ...
fn-data {:type :function
         :name "function_name"
         :params ["a", "b"]}
args    (1, "Hello", previosly_defined_query)
sourceraw docstring

replace-queryclj

(replace-query text params)

Replace params of the form :a :b in text. E.g: text - SELECT :a, :b FROM users params - (:a 1 :b previosly_defined_query)

Replace params of the form :a :b in text. E.g:
text - SELECT :a, :b FROM users
params - (:a 1 :b previosly_defined_query)
sourceraw docstring

try-built-in-fnsclj

(try-built-in-fns fn-sym params)

Evaluate undefined function. It is here the evaluation of built-in Clojure functions, such as *, / , + , - comes in.

Evaluate undefined function. It is here the evaluation of built-in Clojure functions,
such as *, / , + , - comes in.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close