Liking cljdoc? Tell your friends :D

:intersection

Set intersection, returns rows in the left relations that are also in each right relation. Accepts multiple tables/queries as parameters. Same kind of thing as clojure.set/intersection.

Examples


(def GoodCustomer
  [[:from :Customer] 
   [:where [:<= 100 :score]]])

(def John 
  [[:from :Customer]
   [:where [= :firstname "John"]]])

(def GoodJohn
  [[:from GoodCustomer]
   [:intersection John]])

Can you improve this documentation?Edit on GitHub

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

× close