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.
- 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
Tested and working against:
- No library
- Backbone v0.9.2, v0.9.9, v1.0.0, v1.1.0, v1.1.2
- Exoskeleton v0.5.1, v0.7.0
- Use:
require('query-engine')
- Install:
npm install --save query-engine
- Use:
require('query-engine')
- Install:
npm install --save query-engine
- CDN URL:
//wzrd.in/bundle/[email protected]
- Use:
require('query-engine')
- Install:
ender add query-engine
- Use:
window.queryEngine
orwindow.QueryEngine
whichever you prefer - CDN URL:
//bevry.github.io/query-engine/lib/query-engine.js
Discover the change history by heading on over to the HISTORY.md
file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
These amazing people are maintaining this project:
- Benjamin Lupton [email protected] (https://github.com/balupton)
These amazing people have contributed finances to this project:
- BugHerd [email protected] (http://bugherd.com/)
Become a sponsor!
These amazing people have contributed code to this project:
- Andrew Shults [email protected] — view contributions
- Benjamin Lupton [email protected] — view contributions
- Farid Neshat [email protected] — view contributions
- Khalid Jebbari https://github.com/DjebbZ — view contributions
- Nicholas Firth-McCoy — view contributions
Licensed under the incredibly permissive MIT license
Copyright © 2012+ Bevry Pty Ltd [email protected] (http://bevry.me)
Copyright © 2011 Benjamin Lupton [email protected] (http://balupton.com)