Search
Items tagged with: events
Just made a little correction to the JavaScript Database (JSDB) Table Events section:
Previously, the example that listens for the JSTable.PERSIST event was erroneously stating that the table was deleted when the `type` property in the event handlers parameter object was JSTable.DELETE. It now correctly states that the value at `keypath` was deleted.
I also documented the JSTable.PERSIST types so they wouldn’t be confused with the JSTable event types (persist and delete; the latter of which does actually signal that the table – i.e., the append-only JavaScript log – was deleted.
codeberg.org/small-tech/jsdb#t…
#SmallWeb #SmallTech #JavaScript #database #JSDB #documentation #events #fix
jsdb
A zero-dependency, transparent, in-memory, streaming write-on-update JavaScript database for the Small Web that persists to a JavaScript transaction log.Codeberg.org
