You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to add some custom operators to where method (like more flexible between that adapts if there is only one value in array) and support for literal operators like 'ge' (>), 'le'(<) and others. So I extended QueryBuilderHandler class and overrided "where" and "orWhere" methods. Everything worked fine until I tried to use my custom operators inside nested criteria. I figured out that it happens because NestedCriteria class extends QueryBuilderHandler and not my custom class. I cannot extend it too because its injected inside BaseAdapter and I dont want to extend everithing..
May be im doing something wrong? Any ideas?
The text was updated successfully, but these errors were encountered:
hastom
changed the title
custom search operators
Custom search operators
Oct 10, 2017
Hi,
I want to add some custom operators to where method (like more flexible between that adapts if there is only one value in array) and support for literal operators like 'ge' (>), 'le'(<) and others. So I extended QueryBuilderHandler class and overrided "where" and "orWhere" methods. Everything worked fine until I tried to use my custom operators inside nested criteria. I figured out that it happens because NestedCriteria class extends QueryBuilderHandler and not my custom class. I cannot extend it too because its injected inside BaseAdapter and I dont want to extend everithing..
May be im doing something wrong? Any ideas?
The text was updated successfully, but these errors were encountered: