webdb
webdb copied to clipboard
The Web is your database.
Addresses issue https://github.com/beakerbrowser/webdb/issues/13 by passing the `dat` attribute of the `opts` parameter of `indexArchive` and `unindexArchive` to DatArchive as its second parameter. I've also updated the README to reflect this...
WebDB [uses DatArchive's defaults](https://github.com/beakerbrowser/webdb/blob/master/index.js#L152) and does not pass user options to it. I'd like to be able to pass options through in order to, for example, use custom discovery servers.
Currently a rebuild event (triggered by a table definition change) will cause all indexes to be rebuilt. We can update this to only rebuild the affected tables.