datascript
Advanced tools
Changelog
0.11.0
init_db
in js (issue #73)Changelog
0.10.0
:in
and fn-clause
bindingsdatascript.core/DB
Datom
and DB
tag readers to cljs.reader/*tag-table*
, do not rely on data_readers.clj
Changelog
0.9.0
:where
patterns (issue #53)pull
form in :find
clauseChangelog
0.8.0
:find [?e ...]
, tuple :find [?e ?v]
, and scalar :find ?e .
:db/isComponent
(issue #3)transact!
(also fixes #38)aggregate
keyword): (q '[:find (aggregate ?myfn ?e) :in $ ?myfn ...])
. Built-in aggregates work as before: (q '[:find (count ?e) ...]
entity
when passed nil eid (issue #47)Changelog
0.7.2
Changelog
0.7.0
datoms
/seek-datoms
/index-range
calls) now support fast reverse iteration via reverse
.(datascript/datom e a v & [tx added])
call for creating new datomsavg
, median
, variance
, stddev
and count-distinct
(issue #42, thx @montyxcantsin)min
and max
aggregates use comparator instead of default js <
comparisonfilter
Changelog
0.6.0
init-db
for fast creation of DB from existing datoms (useful for e.g. initialization from serialized state)transact!
(~20%) and initial database population (init-db
, db-from-reader
, ~800%)