Allows to export jQuery QueryBuilder rules as a Loopback statement
Created by Fabien Franzen.
- jQuery QueryBuilder >= 2.0
The plugin adds a new public method to all QueryBuilder instances.
Performs validation and returns the rules as a valid Loopback statement.
var loopback = $('#builder').queryBuilder('getLoopback');
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.