Allows to export rules as a MongoDB find object as well as populating the builder from a MongoDB object.
DetailsReturns rules as a MongoDB query
Parameters Name Type Attributes Descriptiondata
object <optional>
current rules by default
Returns Fires Throws DetailsConverts a MongoDB query to rules
Parameters Name Type Descriptionquery
object
Returns
Fires
Throws
Details
Sets rules a from MongoDB query
DetailsModifies the MongoDB field used by a rule
Parameters Name Type Descriptionfield
string rule
Rule
Returns
Details
Returns a filter identifier from the MongoDB field
Parameters Name Type Descriptionfield
string value
*
Returns
Details
Modifies the MongoDB expression generated for a group
Parameters Name Type Descriptionexpression
object group
Group
Returns
Details
Modifies the group generated from the MongoDB expression
Parameters Name Type Descriptiongroup
object expression
object
Returns
Details
Modifies the rule generated from the MongoDB expression
Parameters Name Type Descriptionrule
object expression
object
Returns
Details
Custom parsing of a MongoDB expression, you can return a sub-part of the expression, or a well formed group or rule JSON
Parameters Name Type Descriptionexpression
object
Returns
Details
Modifies the MongoDB expression generated for a rul
Parameters Name Type Descriptionexpression
object rule
Rule value
* valueWrapper
function
function that takes the value and adds the operator
Returns DetailsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4