Skip to content

How to use "icontains" in queries #1035

Answered by dantownsend
przwr asked this question in Q&A
Discussion options

You must be logged in to vote

Are you using SQLite or Postgres? like and ilike are probably your best option. I'm not sure if Postgres has contains. If it does, then you could use WhereRaw to access it.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@przwr
Comment options

@dantownsend
Comment options

Answer selected by przwr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants