(case & args)
builds a case form
(pg/case 1 2 3 4) => "CASE WHEN 1 THEN 2\nWHEN 3 THEN 4\nEND"
((:template @pg/case) 1 2 3 4) => '(% [:case :when 1 :then 2 \ :when 3 :then 4 \ :end])
builds a case form (pg/case 1 2 3 4) => "CASE WHEN 1 THEN 2\nWHEN 3 THEN 4\nEND" ((:template @pg/case) 1 2 3 4) => '(% [:case :when 1 :then 2 \ :when 3 :then 4 \ :end])
(field-id m field)
shorthand for getting the field-id for a linked map
shorthand for getting the field-id for a linked map
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close