Skip to content

flumedb/flumeview-links

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published