Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はちょうどこれを解決しました。ドキュメントには記載されておらず、ソースを掘り下げる必要があるため、これが解決策の適切な場所であると思われました。
ClojureQL では、次のようなクエリをどのように作成しますか。
SELECT * from foo where id in (1, 5, 7);
in述語名前空間の述語を使用する必要があります。
in
(require '[clojureql.core :as ql]) (require '[clojureql.predicates :as pred]) (ql/select (ql/table :foo) (ql/where (pred/in :id [1 5 7])))