Query Engine allows you to perform advanced queries, filters, searching and paging for javascript arrays and objects as well as Backbone.js Collections
CoffeeScript
Latest commit caf885c Mar 8, 2015 @balupton balupton Update README.md
Failed to load latest commit information.
src v1.5.6. Bugfix. Nov 29, 2013
.editorconfig Updated meta files and dev deps Dec 17, 2014
.gitignore Updated meta files and dev deps Dec 17, 2014
.npmignore Updated meta files and dev deps Dec 17, 2014
.travis.yml Updated meta files and dev deps Dec 17, 2014
CONTRIBUTING.md Updated meta files and dev deps Dec 17, 2014
Cakefile Updated meta files and dev deps Dec 17, 2014
HISTORY.md v1.5.7. Bugfix. Dec 21, 2013
LICENSE.md Updated build files. Repackaged as v1.5.3. Oct 27, 2013
README.md Update README.md Mar 8, 2015
coffeelint.json Updated meta files and dev deps Dec 17, 2014
docpad.coffee Restructing for new github pages setup Nov 8, 2013
package.json

README.md

Query-Engine

Build Status NPM version NPM downloads Dependency Status Dev Dependency Status
Gratipay donate button Flattr donate button PayPayl donate button BitCoin donate button Wishlist browse button

Query-Engine is a NoSQL and MongoDb compliant query engine. It can run on the server-side with Node.js, or on the client-side within web browsers

QueryEngine provides extensive Querying, Filtering, and Searching abilities for Backbone.js Collections as well as JavaScript arrays and objects. The Backbone.js and Underscore dependencies are optional.

Features

  • runs on node.js and in the browser
  • supports NoSQL queries (like MongoDB)
  • supports filters (applying a filter function to a collection)
  • supports search strings (useful for turning search input fields into useful queries)
  • supports pills for search strings (e.g. author:ben priority:important)
  • supports optional live collections (when a model is changed, added or removed, it can automatically be tested against the collections queries, filters, and search string, if it fails, remove it from the collection)
  • supports parent and child collections (when a parent collection has a model removed, it is removed from the child collection too, when a parent collection has a model added or changed, it is retested against the child collection)
  • actively maintained, supported, and implemented by several companies

Compatability

Tested and working against:

Using

Install

NPM

  • Use: require('query-engine')
  • Install: npm install --save query-engine

Browserify

  • Use: require('query-engine')
  • Install: npm install --save query-engine
  • CDN URL: //wzrd.in/bundle/query-engine@1.5.7

Ender

  • Use: require('query-engine')
  • Install: ender add query-engine

Direct

  • Use: window.queryEngine or window.QueryEngine whichever you prefer
  • CDN URL: //bevry.github.io/query-engine/lib/query-engine.js

History

Discover the change history by heading on over to the HISTORY.md file.

Contribute

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

Backers

Maintainers

These amazing people are maintaining this project:

Sponsors

These amazing people have contributed finances to this project:

Become a sponsor!

Gratipay donate button Flattr donate button PayPayl donate button BitCoin donate button Wishlist browse button

Contributors

These amazing people have contributed code to this project:

Become a contributor!

License

Licensed under the incredibly permissive MIT license

Copyright © 2012+ Bevry Pty Ltd us@bevry.me (http://bevry.me)
Copyright © 2011 Benjamin Lupton b@lupton.cc (http://balupton.com)