• (replace-relation db rel-name rel)
Add or replace a fully constructed relation object to the database.

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:135 top

(defn replace-relation
  "Add or replace a fully constructed relation object to the database."
  [db rel-name rel]
  (assoc db rel-name rel))
Vars in clojure.contrib.datalog.database/replace-relation: assoc defn
Used in 0 other vars

Comments top

No comments for replace-relation. Log in to add a comment.