Reset the RSQLFilterBuilder to its original state.
Start of the Filter Expression
name of the column you would like to filter on
Returns the RSQLFilterList instance that this builder has been adding things to. This can be added to other lists or set as the filters on the RSQLCriteria class.
Generated using TypeDoc
Allows for the building of RSQLFilterExpressions in a readable way.
let builder: RSQLFilter = new RSQLFilterBuilder(); let list = builder.column('blah').equalTo('123').toList(); let queryStringPart = list.build(); // returns blah=="123"
let rsql: RSQLCriteria = new RSQLCriteria(); let builder: RSQLFilter = new RSQLFilterBuilder(); rsql.filters.and(builder.column('blah').equalTo('123') .or().column('test').equalTo('456').toList()); rsql.build(); // returns $where=(blah=="123" or test=="456")