• (any-match? db rn pt)
Finds if there are any matching records for the partial tuple

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/datalog/database.clj:253 top

(defn any-match?
  "Finds if there are any matching records for the partial tuple"
  [db rn pt]
  (if (= (-> pt keys set) (:schema (db rn)))
    (contains? (:data (db rn)) pt)
    (scan-space some db rn pt)))
Vars in clojure.contrib.datalog.database/any-match?: -> = contains? defn keys set some
Used in 0 other vars

Comments top

No comments for any-match?. Log in to add a comment.