Julian Gruber

Results 317 comments of Julian Gruber

- [x] it should detect collisions - [ ] it should load all plugins from a specified folder - [ ] it should extend the prototype Will it do the...

I'm also in favor, it's hard to ensure a frustration-free experience

Something like this should work: ```js let value = null try { value = await db.get('key') } catch (err) { if (err.type !== 'NotFoundError') { throw err } } ```

I _think_ currently the most performant way is this: ```js let exists = false const it = db.iterator({ values: false, gte: key, lte: key, limit: 1, }) for await (const...

@vweevers might be able to tell you more about any ongoing work on this

With values: false it should only read keys. You are right that the iteration mechanics can be changed

> * This package only offers the callback API, if I understand the code correctly. Do you plan to extend it to also include the `Promise` API? > * Do...

to me, it sounds like those are the steps to get there: 1) have the simple interface for querying ``` js db.createQueryStream(function(value){ return value.foo == 'bar'; }).pipe(...); ``` 2) figure...

FYI Optimism has reached out to me too, and after 2 months there is no working KYC yet. I'm in Germany, if we want to claim this it's probably easiest...