gearbox-solutions / eloquent-filemaker

A Model extension and Eloquent driver for Laravel connecting to FileMaker through the Data API
https://gearboxgo.com
MIT License
54 stars 16 forks source link

Support operator parameter for whereIn #52

Closed lgebing closed 1 year ago

lgebing commented 1 year ago

Dependencies

Description of the issue:

Is it possible to support operator as a parameter for the whereIn function? I want to be able to use the == operator to query only records where the field exactly matches the value.

Smef commented 1 year ago

You can just append that to your query, so you'd search for whereIn('name', ['==Bob', '==Sue']).