Skip to content
Discussion options

You must be logged in to vote

Since you're using PostgreSQL you could use the insensitive operator ilike:

query.where('name', 'ilike', '%${term}%')

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@kaposke
Comment options

@roneydourados
Comment options

@gusflopes
Comment options

@georgebsmith-tech
Comment options

Answer selected by kaposke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
6 participants