case insensitive search #87
pyramation
started this conversation in
General
Replies: 1 comment 1 reply
|
You can use the const filterToQuery = (searchText: string) => ({
yourAttribute: {
value: searchText,
operator: 'startsWithInsensitive'
},
})If you have the filter plugin enabled (https://github.com/graphile-contrib/postgraphile-plugin-connection-filter), you can specify the search operator in |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm using search/filter a bit and seems that by default it's all case-sensitive... is it a simple switch or does this require a PR?
All reactions