Is your feature request related to a problem? Please describe.
No.
The original implementation of _filter was ambiguous. The spec reported that it did an equals match, but the code (and jsdoc) performed a like "%q%" match.
A previous PR (#102) resolved the issue, switching _filter to use equals. But @thevahidal recommended introducing an issue to restore the capability of text-based wildcard searches.
Describe the solution you'd like
Introduce a new _like filter that performs a ILIKE match (case independent wildcard search), to allow wildcard text-based searches.
The url will look like:
/api/tables/customers/rows?_like=FirstName:Franc
Note: the param should accept multiple specified matches, like the _filters query param does.
Describe alternatives you've considered
Did not identify any.
Is your feature request related to a problem? Please describe. No.
The original implementation of
_filter
was ambiguous. The spec reported that it did anequals
match, but the code (and jsdoc) performed alike "%q%"
match.A previous PR (#102) resolved the issue, switching
_filter
to useequals
. But @thevahidal recommended introducing an issue to restore the capability of text-based wildcard searches.Describe the solution you'd like Introduce a new
_like
filter that performs aILIKE
match (case independent wildcard search), to allow wildcard text-based searches.The url will look like:
Note: the param should accept multiple specified matches, like the
_filters
query param does.Describe alternatives you've considered Did not identify any.