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..
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?