threatgrid / asami

A graph store for Clojure and ClojureScript
Eclipse Public License 1.0
637 stars 29 forks source link

Implement `with` function #113

Open quoll opened 3 years ago

quoll commented 3 years ago

To implement with we want a Connection/Database wrapper that:

quoll commented 3 years ago

I was expecting to return everything from the underlying graph, and then filter what was found in the in-memory graph. But this is backward. The in-memory graph can be used as a fast filter against the underlying graph. Similarly, a record of deletions can be kept just like an assertion graph, and used for filtering.

This means that deletions should:

Additions should: