Repository navigation
v0.2.0
This version makes the event log a grow-only set, for the merge of copies of one log. The change of the results of append and appendAll breaks old callers.
appendgives one result:added,duplicate,conflictorrefused.appendAllgives one result for each event. Before, they gave only the problems.- An event with an id that the log has does not throw and does not break the log. An equal event is a duplicate, and a different event is a conflict.
- The argument
acceptis optional. It gets only an event with a new id. - The new option
equalsets the equality of two events. The default compares the JSON text. entries,getandheadare new, andreadhas the optionsafter,typesandlimit.eventLogopens a log in a table of a connection of the caller. Its version is in the partevent-log:<table>.- A broken log throws a
BrokenLogError. Its fieldstucktells if the rollback did not end. EVENT_LOG_SCHEMA_VERSIONis 2: the second step adds an index on the type. A file of 0.1.0 gets the step at the next open.migratehas the optionpart: each part of a file has its own version in the tableschema_versions.schemaVersionreads it.sqliteFaultgives the kind of an error of SQLite and the action that it needs:retry,quarantine,operatororbug.
Runtime dependencies: none.