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

The following code will result in the query hanging ``` var ds = require("datascript") var db = ds.db_with(ds.empty_db(), [ { "left": "aaron", "right": "barbara" }, { "left": "aaron", "right": "chris"...

The end result of building DataScript is a chunk of JS. It'd be really interesting to have a github.io page with 'transact' and 'query' boxes to try it out without...

I have "a test case" that reproduces the problem over here: https://runkit.com/pedroteixeira/5b3d293e2362ea0012159119 We would expect it to return the value converted to native js, right? Any workarounds for this? Thanks

Using `get-else` terminates even if there are more results to be find when applied on a `:db.cardinality/many` attribute. This is different from Datomic, which returns every match even when `get-else`...

Currently, DataScript queries are synchronous. When a query is executed, each pattern has `search` called in sequential order against a record that implements `datascript.db.ISearch`. The `search` calls are synchronous, as...

The README indicates that `entity` implements the ES6 Map interface. However it's not actually iterable because it doesn't implement the iterable protocol. To do so, an `entity` must also have...

I want to use datascript to store "pointers" to raw JS objects, and be able to query for them. So I did a small test to see if it could...

Also partially dicussed on Slack: Currently an attribute lookup on an entity does a search into the btset and then caches the result. This is inefficient since the all the...

Thanks for making this library public. I am currently experimenting with Datascript and came across some strange behaviour. Either I am doing something wrong, or maybe it is a bug...