Storage API for Naga to talk to graph stores. Also includes some utility functions.
Storage API for Naga to talk to graph stores. Also includes some utility functions.
(assert-schema store schema & {:as opts})
Convenience function to avoid passing empty options
Convenience function to avoid passing empty options
(as-store c)
Turns a native connection into a storage object
Turns a native connection into a storage object
(retrieve-contents store)
Convenience function to retrieve the contents of the entire store
Convenience function to retrieve the contents of the entire store
(query store output-pattern patterns)
Resolves a set of patterns (if not already resolved), joins the results, and projects the output. The output can contain constant values as well as selected variables.
Resolves a set of patterns (if not already resolved), joins the results, and projects the output. The output can contain constant values as well as selected variables.
(deltas store)
Returns the latest updated subjects in the represented store
Returns the latest updated subjects in the represented store
(retract-data store data)
Removes existing axioms
Removes existing axioms
(count-pattern store pattern)
Counts the size of a pattern resolition against storage
Counts the size of a pattern resolition against storage
(resolve-pattern store pattern)
Resolves a pattern against storage
Resolves a pattern against storage
(query-insert store assertion-patterns patterns)
Resolves a set of patterns, joins them, and inserts the set of resolutions
Resolves a set of patterns, joins them, and inserts the set of resolutions
(commit-tx store)
Commits a transaction, if supported
Commits a transaction, if supported
(start-tx store)
Starts a transaction, if supported
Starts a transaction, if supported
(assert-schema-opts store schema opts)
Inserts a new schema, if supported
Inserts a new schema, if supported
(assert-data store data)
Inserts new axioms
Inserts new axioms
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close