datascript

Immutable database and Datalog query engine for Clojure, ClojureScript and JS
kiemdoder 2018-04-09T20:28:09.000336Z

When I run the following code I expected the result of the query to contain the name of the task that was marked as completed but I get back an empty result. Am I updating the database incorrectly or is there something missing in the query?

kiemdoder 2018-04-09T20:31:16.000490Z

I started looking at Datascript only yesterday and so far I like it a lot 😀

kenny 2018-04-09T20:43:04.000523Z

@kiemdoder Replace :db/add on line 5 with :db/id.

kiemdoder 2018-04-09T20:47:01.000192Z

Thank you @steveh2009 👍