Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
[] = Series of things 'this AND that'
{} = Key/val 'k=v'
#{} = 'this OR that'
clojureql.internal> (compile {:rank "Top"})
clojureql.internal> (compile [{:rank "Top"} {:title "Dev"}])
"rank=Top AND title=Dev"
clojureql.internal> (compile [{:rank "Top"} #{{:id 5} {:title "Dev"}}])
"rank=Top AND (title=Dev OR id=5)"
clojureql.internal> (compile #{{:rank "Top"} {:id 5}})
"(rank=Top OR id=5)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.