jitdb icon indicating copy to clipboard operation
jitdb copied to clipboard

A database on top of a log with automatic index generation and maintenance

Results 17 jitdb issues
Sort by recently updated
recently updated
newest added

The readme mentions this `live` https://github.com/ssbc/jitdb#liveoperation-cb but that one doesn't seem to be the one we use in code sometimes like ``` ssb.db.query( where(and(isDecrypted('box2'), type('group/add-member'))), live({ old: true }), toPullStream()...

:bulb: Idea When we're streaming the log in jitdb, we can detect deleted records, but we don't really do anything about it, we just skip to the next records. What...

I was looking at some numbers today and noticed that there was a significant overhead of using toPullStream in some cases. The following query takes 2.4 seconds: ``` pull( ssb.db.query(...

I keep getting these errors but I can't figure out what SSB call is triggering it. Might be from a plugin running in the background... ``` internal/buffer.js:83 throw new ERR_OUT_OF_RANGE(type...

``` const multicb = require('multicb') const done = multicb({ pluck: 1 }) function callAsync(cb) { setTimeout(() => { console.log("inside async") cb() }, 100) } callAsync(done()) done((err, res) => { console.log('yo')...

# Background @mixmix was working on adding [an option](https://gitlab.com/ahau/lib/ssb-crut/-/merge_requests/28) to crut list where you would get results ordered by updateTime. We would like to avoid running through all the results...

Would be really useful in crut for getting the latest X of something sorted by update time.

The readme includes this example ```js query( fromDB(db), where(equal(seekType, 'post', { indexType: 'type' })), toCallback((err, msgs) => { console.log('There are ' + msgs.length + ' messages of type "post"') })...

Running into an issue in ssb-browser-demo which seems to be stemming from this line: https://github.com/ssb-ngi-pointer/jitdb/blob/c143df20db1f08a74f1a7cf54bb9c7058a394865/index.js#L186 ``` bundle-ui.js:73176 Uncaught (in promise) RangeError: Array buffer allocation failed at new ArrayBuffer () at...

They seem faster than TypedFastBitSet (according to TypedFastBitSet's own benchmarks) but `roaring` is a native node module (probably won't run in the browser). - https://www.npmjs.com/package/roaring Also see https://www.npmjs.com/package/bitfield-db by substack