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 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?
Beta Was this translation helpful? Give feedback.
All reactions