johannesschobel / dingoquerymapper

Uses Dingo/API Request Query Parameters to filter Laravel Models
MIT License
12 stars 6 forks source link

Case Insensitive Searching #20

Open staringrail opened 5 years ago

staringrail commented 5 years ago

Hello, I am trying to do a search on a column named 'customername', but the values in the database are either uppercase or lowercase, is there any way to do a case INSENSITIVE search?

{{url}}/loads?sort=id&limit=100&customername=TORRES*

^ This will bring back records with 'TORRES' in the customername but not records with the a lower case 'torres'.