webdb icon indicating copy to clipboard operation
webdb copied to clipboard

The Web is your database.

Results 13 webdb issues
Sort by recently updated
recently updated
newest added

For example, as Fritter users WebDB, how it indexes all users without needing a server? Does UnwalledGarden standard uses WebDB?

When indexing DBs, if you do: ``` async () => { await webdb.indexArchive('dat://232ac2ce8ad4ed80bd1b6de4cbea7d7b0cad1441fa62312c57a6088394717e41/'); console.log(await webdb.listSources()); } ``` You will see `["dat://232ac2ce8ad4ed80bd1b6de4cbea7d7b0cad1441fa62312c57a6088394717e41"]` in your console (note, no trailing `/`). If you...

bug

Some housekeeping to update `createFileActivityStream` to `watch` and get rid of the deprication warnings in console.

Any place where an example is being used?

Hey! What do you think about having live-updating DB queries, as a more user-friendly interface on top of the `WebDBTable` events `put-record` and `del-record`? An example: ```js const query =...

enhancement

As I understood it, `WebDB` instances emit `indexes-updated` events to let others know that they have updated records in all indexes *from a single archive*. I would love to have...

enhancement

After WebDB has indexed a file, if that file is then removed (outside of webdb), a `NotFoundError` is thrown. The record for that file seems to remain in the database....

bug

A design tradeoff for WebDB that I didn't consider enough was bundle size. - [x] In the most recent release, JSON-Schema was added for validation. Turns out my module choice...

question

I was working on learning more about WebDB and wanted a self-contained bundle of this library, so I added a simple `npm run bundle` command that exports the whole thing...