This is a simple HTML / JavaScript application that is used for Building 'q' That can be used with any REST based system.
An interative demo and ZIP download are hosted on gh page http://redquerybuilder.appspot.com/
'q' builder is based on pure Bootstrap and JQuery. Where You can build sql queries as a tree.
- Download the code put project in any any local server and it will run
- For Integration with Rest based System you need to write AJAX calls in main.js to fill the pre given object of fields and models
- To use this plugin go through the scenarios of where clause given below.
- You can post your comment and issues on git hub issues
- Both AND (a && b && (c && d))
- Its Query
- Both OR eg: (a || b || (c || d))
- its Query
- First AND and inside it OR as (a && b && (c || d ))
- Its Query
- First OR and inside it AND as (a || b || (c && d))
- Its Query ( it will create a virtual key to represent as JSON object for c and d
Similarly we can design it for three and more groups