Skip to content

flumedb/flumeview-links

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jul 5, 2020
c915094 · Jul 5, 2020

History

10 Commits
Jul 5, 2020
May 22, 2020
Jul 5, 2020
Jul 5, 2020
Jul 5, 2020
Jul 5, 2020
May 22, 2020
May 22, 2020
May 22, 2020

Repository files navigation

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