datascript icon indicating copy to clipboard operation
datascript copied to clipboard

Immutable database and Datalog query engine for Clojure, ClojureScript and JS

Results 87 datascript issues
Sort by recently updated
recently updated
newest added

I'm currently optimizing the startup time of datascript and one more slow part (besided my PR for `rschema`) is the --in production unnecessary-- schema valdation. Could this be wrapped in...

[(chain ?a ?attr1 ?attr2 ?b) [?a ?attr1 ?i0 ?i0 ?attr2 ?b]] I have a query that can use this rule 4 times but for which I currently manually expands every...

The following transaction fails in Datomic, but not DataScript: ``` [[:db/add (d/tempid :db.part/user -1) :some.ref/attr (d/tempid :db.part/user -2)]] ``` This means a little bit of extra work automatically syncing Datomic...

In Datomic, if you pull `:db/id` for any eid `x` that doesn't exist, you get `{:db/id x}`. In DataScript, you get `nil`. Further, `(pull-many [:some/attr] missing-eids)` evaluates to `[]` in...

In deeply nested maps, datascript can successfully build relationships with both the lookup ref, and reverse lookup ref, however, it seems like when you combine them, it does not create...

Such a protocol would make it possible to build custom connection/ref objects with special lifecycle functionality and capabilities. Right now the connections is just an atom, but it would be...

There is seems no way to obtain a schema from db object via javascript API. Could it be extended?

With datascript 0.15.2 in Clojure ``` (require '[datascript.core :as d]) (let [conn (d/create-conn {})] (d/transact! conn [{:db/id -1 :name "Maksim" :age 45 :sym 'foo}]) (d/q '[:find ?n ?a :where [?e...

`datascript.db/ref?` and `datascript.db/multival?` are useful in application code but the changelog describes datascript.db as internal. Would you consider making those functions a part of the public api?