datascript
datascript copied to clipboard
Immutable database and Datalog query engine for Clojure, ClojureScript and JS
PR to address #378. Not sure how dirty the implementation is for this ... but tests pass so 🤷 Cheers.
In hash-join of two relations, a simple optimization is to create the hash table on the smaller side of the relations. This simple change can noticeably improve query performance in...
The attached commit adds a test that currently produces a `nil` `:db/id`, which seems wrong. Since I do not know what the correct result should be, I am treating this...
There are some issues we are solving for datsync to make the datomic/datascript transition smoother and I wanted to get your thoughts on the possiblity of adding tx-middleware to datascript....
Hi, For one of our projects we are using Datascript in combination with Om/next for rendering our frontend. Using DB on frontend is really nice for rendering DOM elements. We...
This commit adds more schema value types, even though Datascript doesn't care about the type other than if it's a `:db.type/ref` or not. The value type keywords follow closely with...
Summary -------- This commit optimizes `join-tuples` which is where Datascript spends a lot of its time, especially with larger queries. It is Clojure-focused, but may impact Clojurescript. It nearly triples...
There is now a Chrome Extension and plans for an Electron application for the [Datalog Console](https://github.com/homebaseio/datalog-console). Our thoughts were to have this integrated with Datascript. @tonsky what would this integration...
This has come up in a couple of issues before, both by developers being against it and for it. To wit: https://github.com/tonsky/datascript/pull/8#issue-32457706 https://github.com/tonsky/datascript/issues/56#issuecomment-73641241 Here's my case for a dynamic entity...
Using the example from the Day of Datomic pull_recursion.clj: `(d/pull (d/db conn) '["*" {:person/friend 2}] anne-id)` Works with latest Datomic, but not in Datascript. http://stackoverflow.com/questions/38092197/how-best-can-i-query-datomic-for-a-n-degrees-subgraph/38125324#38125324