# jQuery-QueryBuilder **Repository Path**: ahwangbing/jQuery-QueryBuilder ## Basic Information - **Project Name**: jQuery-QueryBuilder - **Description**: jQuery plugin offering an interface to create complex queries - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2019-02-19 - **Last Updated**: 2021-02-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # jQuery QueryBuilder [![Bower version](https://img.shields.io/bower/v/jQuery-QueryBuilder.svg?style=flat-square)](http://querybuilder.js.org) [![CDN](https://img.shields.io/badge/cdn-jsdelivr-%23EB4C36.svg?style=flat-square)](http://www.jsdelivr.com/projects/jquery.query-builder) [![Build Status](https://img.shields.io/travis/mistic100/jQuery-QueryBuilder.svg?style=flat-square)](https://travis-ci.org/mistic100/jQuery-QueryBuilder) [![Coverage Status](https://img.shields.io/coveralls/mistic100/jQuery-QueryBuilder/master.svg?style=flat-square)](https://coveralls.io/r/mistic100/jQuery-QueryBuilder) jQuery plugin offering an simple interface to create complex queries. [![screenshot](https://raw.githubusercontent.com/mistic100/jQuery-QueryBuilder/master/examples/screenshot.png)](http://querybuilder.js.org) ## Documentation http://querybuilder.js.org ### Dependencies * jQuery >= 1.10 * Bootstrap >= 3.1 (CSS only) * [jQuery.extendext](https://github.com/mistic100/jQuery.extendext) * [doT.js](http://olado.github.io/doT) (@master until the author decide to publish a new version) * [MomentJS](http://momentjs.com) (optional, for Date/Time validation) * Other Bootstrap/jQuery plugins used by plugins ($.extendext and doT.js are directly included in the [standalone](https://github.com/mistic100/jQuery-QueryBuilder/blob/master/dist/js/query-builder.standalone.js) file) ### Browser support * Internet Explorer >= 9 * All other recent browsers ### Build #### Prerequisites * NodeJS + NPM: `apt-get install nodejs-legacy npm` * Ruby Dev: `apt-get install ruby-dev` * Grunt CLI: `npm install -g grunt-cli` * Bower: `npm install -g bower` * SASS: `gem install sass` #### Run Install Node and Bower dependencies `npm install & bower install` then run `grunt` in the root directory to generate production files inside `dist`. #### Options You can choose which plugins to include with `--plugins` : ```bash # include "sql-support" and "mongodb-support" plugins grunt --plugins=sql-support,mongodb-support # disable all plugins grunt --plugins=false ``` All plugins are included by default. You can also include language files with `--languages` : ```bash # include French & Italian translation grunt --languages=fr,it ``` #### Other commands * `grunt test` to run jshint/jscs/scsslint and the QUnit test suite. * `grunt list_modules` to get the list of available plugins and languages. * `grunt describe_triggers` to get the list of all triggers. * `grunt describe_errors` to get the list of all fatal errors. * `grunt watch` to automatically build the library when modifying the source files. ### Inspiration * [Knockout Query Builder](http://kindohm.github.io/knockout-query-builder/) * [jui_filter_rules](http://www.pontikis.net/labs/jui_filter_rules/)