Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 950 Bytes

README.md

File metadata and controls

32 lines (18 loc) · 950 Bytes

flumeview-links

This is links.js from [email protected]

TODO ... more detail

API

flumedb.use("links", FlumeViewLinks(indexes, links, version))

indexes to use. links is an optional function used for mapping a value into one or more values for the index. version must be an number. When you change indexes or links, bump the version and the index will rebuild.

Here we use the name "links", you can use any name.

flumedb.links.read({query: MFR_query, limit, reverse, live, old, unlinkedValues}) => source

Perform the query! limit, reverse, live, old are stardard as with other flume streams. unlinkedValues is an option that can be used to include the values not part of the index in the return value.

flumedb.links.explain({query: MFR_query, limit, reverse, live, old, unlinkedValues}, cb)

Right now only calls back with { index } - the index your example query would use (if any)

License

MIT