git ssb

1+

punkmonk.termux / mvd



forked from ev / mvd

Tree: 90dfad001a91b412a745a9cad0dccf4a3ef49dc2

Files: 90dfad001a91b412a745a9cad0dccf4a3ef49dc2 / mvd / mvd-indexes.js

431 bytesRaw
1var Indexes = require('flumeview-query/indexes')
2var pkg = require('./package.json')
3exports.name = 'mvd-indexes'
4exports.version = pkg.version
5exports.manifest = {}
6
7exports.init = function (sbot, config) {
8
9 var view =
10 sbot._flumeUse('query/mvd', Indexes(1, {
11 indexes: [
12 {key: 'chr', value: [['value', 'timestamp' ]]}
13 ]
14 }))
15
16 var indexes = view.indexes()
17 sbot.query.add(indexes[0])
18
19 return {}
20}
21

Built with git-ssb-web