I have laravel query builder query where is in the where condition I have an ',
Select * from teams where name ilike ST. HELLEN'S
But when I run this query through Laravel query builder it is converted into
Select * from teams where name ilike ST. HELLEN'S
And at the end I am getting Syntax error. Anyone has any idea how to get through this issue?
I have alreadyt tried these
Select * from teams where name ilike ST. HELLEN\'S
Select * from teams where name ilike `ST. HELLEN'S`
I tried using DB Raw query as well. But nothing works. Please help.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2vF7rXk
via IFTTT
Aucun commentaire:
Enregistrer un commentaire