expose db state to updates
laforge49 opened this issue · comments
Bill La Forge commented
Updates to calf and yearling should work with the db state, not the app map. Further, the api for queries should work with db state rather than the opts map. This does 2 things:
- The api for queries and updates are unified, and
- The query api (like get transaction count) now work with past state.
Bill La Forge commented
Once this is done, it will be trivial to drop the dynamic variables from yearling.
Bill La Forge commented
Calf now exposes db-state. See https://github.com/laforge49/aatree/wiki/Calf
Bill La Forge commented
Yearling now exposes db-state. See https://github.com/laforge49/aatree/wiki/Yearling
Bill La Forge commented
Updated wiki: https://github.com/laforge49/aatree/wiki/Db-Agent
Bill La Forge commented
Replaced get-sorted-map with an enhanced db-get-state
Bill La Forge commented
Dropped db-transaction-count.