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

Hey! Let's consider this a work in progress since I broke something around lookup refs (will look into it) and I know you might want to make some different implementation...

I'm seeing some odd behavior with indexed vectors. I thought this might have been introduced in 1.6.4, but it was also happening in 1.6.3. Given ```clojure (let [db (-> (d/empty-db...

https://github.com/tonsky/datascript/blob/61edb9e76d92fad2106f9c01bc80e659a4292ea8/src/datascript/query.cljc#L402 This gives a compiler warning. It could be avoided by choosing a different name for the wrapped version. Addendum: There is another function called `substitute-constant` in the same namespace...

Adds a timeout to `q` and `pull` Mostly inspired from the timeout approach in datalevin: https://github.com/juji-io/datalevin/blob/master/src/datalevin/timeout.clj (& [original PR which adds it](https://github.com/juji-io/datalevin/pull/150)) Is this approach correct, @tonsky ? (seems to...

It seems I've run into a stack overflow somewhere deep inside some internals. I'm hoping this might be obvious to someone familiar with the code. This is the smallest scenariot...

I haven't used Datomic, but I have been following it's documentation to learn Datascript, I believe have found this gap in the behaviour between Datomic and Datascript queries, it would...

🧠 Datascript MCP Server is out! An open-source Model Context Protocol (MCP) server that lets AI tools query structured context via DataScript. Perfect for AI agents like Claude Desktop. 👉...