hyperbee
hyperbee copied to clipboard
An append-only B-tree running on a Hypercore
Is there a way where I can set rules for read/write accesses for particular ip? If not ip, maybe some hyper hash or something. I look though the docs and...
`Batch.put` and `Batch.get` will both currently use the Batch's default key/value encodings always. This PR lets that be overridden. Edit: Also added support for custom key encodings to `Batch.del` and...
This is useful for example for watching operations on the bee ```js db.feed.on('download', (seq) => db.getOperation(seq)) ``` Or ```js db.feed.on('append', () => db.feed.length > 1 && db.getOperation(db.feed.length - 1)) ```...
This change allows put to return the key and value passed to it upon a successful write.
@mafintosh you're not gonna like the Proxy object in there, but have other thoughts for how to temporarily override the key/value encodings for child batches on `sub` databases? *Edit: Answer...
It'd be nice to use a single batch between several subs. e.g. `sub.batch({batch: dbBatch})` to specify a parent batch to append onto with the sub batch. Specifying an existing batch...
This would be useful for knowing the seq of a newly inserted item
Hey guys, I was trying the `sub` namespacing of hyperbee and I notice that running a `createHistoryStream` over sub databases gets the history of the entire database and also for...
Automatic batch!
It's cool to get the value directly