Loopback support for jQuery QueryBuilder.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Latest commit 80efa68 May 25, 2015
Permalink
Failed to load latest commit information.
LICENSE Init May 25, 2015
README.md Init May 25, 2015
bower.json Init May 25, 2015
query-builder-loopback.js Init May 25, 2015

README.md

jQuery QueryBuilder Loopback

Allows to export jQuery QueryBuilder rules as a Loopback statement

Created by Fabien Franzen.

Dependencies

  • jQuery QueryBuilder >= 2.0

Usage

The plugin adds a new public method to all QueryBuilder instances.

getLoopback

Performs validation and returns the rules as a valid Loopback statement.

var loopback = $('#builder').queryBuilder('getLoopback');

Operators configuration

The Loopback plugin requires special configuration for operators to convert rules. This configuration is stored in the loopbackOperators option, see the source code for more details.