Set union, returns rows in the left relations and each right relation. Accepts multiple tables/queries as parameters.
Same kind of thing as clojure.set/union
.
(def Mary
[[:from :Customer]
[:where [= :firstname "Mary"]]])
(def John
[[:from :Customer]
[:where [= :firstname "John"]]])
(def JohnAndMary
[[:from John]
[:union Mary]])
;; union doesn't need a left side
;; the below would also work.
[[:union John Mary]]
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close