Good day, I have this query:
SELECT * FROM table
WHERE ( name = '%alex%'
OR address = '%alex%'
OR lastname = '%alex%'
) AND id = '%alex%'
AND email = '%alex%'
How would I go about converting this SQL query using Laravel Query Builder? Thanks in advance.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire