mentat/src/datomish
Nick Alexander d92016166a Cache partition map and update materialized partition view once. Fixes #47.
This caches a partition map per DB, which is helpful because it exposes
what the point in time DB partition state is, but is unhelpful because
the partition state can advance underneath the DB cache.  This is
generally true of the approach -- this can happen to the ident/entid
maps, and the datoms themselves -- so we'll roll with it for now.

This reduces the number of SQL UPDATE operations from linear in the
number of id-literals used to constant in the number of known
partitions.
2016-09-01 14:46:04 -07:00
..
db Extract datomish.db.debug from test code, in order to use it during development. 2016-08-30 18:22:10 -07:00
places Review comment: move assoc-if to utils. 2016-08-30 18:22:22 -07:00
query Review comment: clarity. 2016-08-30 18:22:22 -07:00
transact Cache partition map and update materialized partition view once. Fixes #47. 2016-09-01 14:46:04 -07:00
core.cljs Implement negation, predicates, external scalar bindings, <?q. r=nalexander 2016-07-25 17:08:00 -07:00
datom.cljc Fix cljs 2016-08-04 14:26:20 -07:00
db.cljc Cache partition map and update materialized partition view once. Fixes #47. 2016-09-01 14:46:04 -07:00
db_factory.cljc Cache partition map and update materialized partition view once. Fixes #47. 2016-09-01 14:46:04 -07:00
exec_repl.cljc Hacking on exec-repl. 2016-08-30 18:22:23 -07:00
jdbc_sqlite.clj Configure our JDBC interface to not downcase column names in result sets. 2016-08-30 18:22:09 -07:00
js.cljs Add lein-cljsbuild and adapt datascript's release-js vehicle. 2016-07-06 16:42:37 -07:00
node_tempfile.cljs Add tempfile and with-tempfile to CLJS. 2016-07-12 13:56:26 -07:00
node_tempfile_macros.cljc Add tempfile and with-tempfile to CLJS. 2016-07-12 13:56:26 -07:00
pair_chan.cljc Pre: Catch Throwable, not Exception. 2016-08-04 14:26:20 -07:00
promise_sqlite.cljs Part 2: Add ISQLiteConnectionFactory and CLJC test that uses it. 2016-07-13 18:19:22 -07:00
query.cljc Implement aggregation. Fixes #39. 2016-08-30 18:22:22 -07:00
schema.cljc Review comment: better UUID support. 2016-08-30 18:22:22 -07:00
schema_changes.cljc Add d/{ident,entid} for mapping between keyword idents and integer entids. 2016-08-30 18:22:09 -07:00
sqlite.cljc Correctly handle SQL errors in <?all-rows. Fixes #40. 2016-08-30 18:22:09 -07:00
sqlite_schema.cljc Cache partition map and update materialized partition view once. Fixes #47. 2016-09-01 14:46:04 -07:00
test_macros.cljc Define deftest-db to do async testing with an open DB. 2016-08-30 18:22:11 -07:00
transact.cljc Cache partition map and update materialized partition view once. Fixes #47. 2016-09-01 14:46:04 -07:00
util.cljc Review comment: move assoc-if to utils. 2016-08-30 18:22:22 -07:00