开发者社区> 镜像站> NPM> ssb-threads-index
ssb-threads-index
This is a example of a ssb plugin that adds indexes for ssb-query. depends on [this flumeview-query PR](https://github.com/flumedb/flumeview-query/pull/15)
Last updated 2 years ago by dominictarr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ssb-threads-index 
SYNC missed versions from official npm registry.

ssb-threads-index

This is a example of a ssb plugin that adds indexes for ssb-query. depends on this flumeview-query PR

An index for value.content.root is added, which means queries for threads is now fast:

sbot.query.read({query: [{
  $filter: {
    value: {
      content: {
        root: "%rciFuVmIAi6WxamBNcF+EYSnJtngAbHwxxmtudsz3v4=.sha256"
      }
    }
  }
}]})

License

MIT

Current Tags

  • 1.0.1                                ...           latest (2 years ago)

2 Versions

  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 2
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None