How do i escape the '%' in the sense that i want to remove any statements with the '%' symbol in it.
The following code is an example ->where('dst', 'not like', '%#%')
in Laravel Eloquent, where the strings matching anything with a '#' is removed.
I want to do the same for '%' where any strings with % in the string like %4214231%423 is removed from the query result.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire