Skip to content
Advertisement

How to search incasesensitive query in the Postgresql database using Laravel query builder?

I want to create a filter. But I am facing case-sensitive problem. I have tried with my below code. But It didn’t work. I have got error ‘call undfiend lcase’.

My database is Postgresql.

Advertisement

Answer

Try this:

You can search by ILIKE query.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement