Friday, March 17, 2017

How to make sensitive select where query in laravel 5.4?

I have this query in laravel 5.4 :

DB::table('nums')->where('random', $randstr)->first()

How to make this query sensitive to lowercase and uppercase.

nums : name of table

random: name of column

Thanks > >



via Issam Mousleh

Advertisement