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.
https://codeberg.org/small-tech/jsdb#table-events
#SmallWeb #SmallTech #JavaScript #database #JSDB #documentation #events #fix








