There was an error while loading. Please reload this page.
2 parents c4c0b00 + 2f90fe4 commit 3edf993Copy full SHA for 3edf993
src/naga/store.clj
@@ -15,6 +15,11 @@
15
(assert-data [store data] "Inserts new axioms")
16
(query-insert [store assertion-patterns patterns] "Resolves a set of patterns, joins them, and inserts the set of resolutions"))
17
18
+(defn retrieve-contents
19
+ "Convenience function to retrieve the contents of the entire store"
20
+ [store]
21
+ (resolve-pattern store '[?entity ?attribute ?value]))
22
+
23
(def registered-stores (atom {}))
24
25
(defn register-storage!
0 commit comments