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
Set to `true` if you want to use insensitive-case searches when using `contains` or `starts_with` filters. Defaults to false.
167
167
168
+
### conditionMapper
169
+
Useful to transform/change the default operator or condition that a
170
+
particular filter is being evaluated against. `conditionMapper` receives the column name, the condition being evaluated and the default/normal value that should returned for the condition.
171
+
172
+
For example, here we change the `contains` condition to use json containment operator `@>`:
Make sure all the tests pass before sending a PR. To run the test suite, run `yarn test`. Please note that the codebase is using `dotenv` package to connect to a test db, so, to connect to your own, add a `.env` file inside the `tests` folder with the following structure:
0 commit comments