subgraph icon indicating copy to clipboard operation
subgraph copied to clipboard

Reactive graph database for re-frame

Results 8 subgraph issues
Sort by recently updated
recently updated
newest added

We're often faced with the unknown of wether a ref is a ref or whether we need to convert it. We've been using helper functions convert whatever is ref-convertible before...

Right now SubGraph stores entities directly in `app-db` under keys that look like `[:some-keyword some-key-value]`. It makes it incredibly hard to look at `app-db` with the naked eye or with...

We need to document links and recursive queries syntax in that docstring

1. Should we provide a registration function that registers the pull handler? Yes: nobody likes setup No: we'd need to answer the remaining questions 2. If yes, should we define...

Removing entities can be achieved with `(dissoc db (ref-to db my-entity))`. This is undocumented and it is a subtle operation, because: - It will leave dangling refs in entities who...

Add a `pull-many` function to pull a seq of refs. http://docs.datomic.com/pull.html#api

The parser implementation for re-frame currently uses reagent's `make-reaction` thus bypassing the re-frame subscription cache. We could and probably should leverage the cache by automatically registering our subscription handler and...

The `pull` api was extend by adding an options map used to parametrize database accessors in the query parser. While this allowed `pull` to work with ratoms as well as...