saintsystems / odata-client-php

OData Client Library for PHP
MIT License
141 stars 103 forks source link

add "IN" queries to Builder and Grammar (with tests) #117

Closed jbraband closed 1 year ago

jbraband commented 1 year ago

adds whereIn, orWhereIn, whereNotIn, and orWhereNotIn to the Builder class and Grammar.

I've also included tests.

This mimics what is already existing for whereNull and whereNotNull

jbraband commented 1 year ago

thanks for the merges! There seems to be a dearth of php packages to consume generic OData APIs and this was the one with recent commits. Plus, I really like that its architected like Laravel Eloquent.

I'll be sure to continue PRing additions and bug fixes as I build out my uses for this package!

Cheers 🎉

anderly commented 1 year ago

Thanks for the PRs and the tests!