mercredi 31 août 2016

Filter out multiple where not like

I am trying to RTFM but cannot see where the list of possible where operators are listed. I only see the basic examples of >=, <> and like. Anyways, I want to filter out any results that match multiple patterns.

If I use

->whereNotIn('fieldName', ['exactString1', 'exactString2'])

Then I filter these exact strings from my results. However I want to filter out multiple patterns (NOT LIKE) rather than multiple strings.

I am using MySQL so I'm open to using a raw query is the query builder does not support this.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire