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

Query with no results not showing why there are no results. #37

Closed base64bits closed 1 year ago

base64bits commented 1 year ago

Thanks for creating this elegant way of accessing FMDAPI data, I am currently using a different class for this, but I want to change to using this one instead.

One of the things I cannot find how to get access to is error code and or error message for example when doing a query and there are no results I will like to know that I got an 401 and the error description will be great too, maybe I am missing something and the functionality is already there.

base64bits commented 1 year ago

The functionality is already there when accessed via getData() thanks again!

Smef commented 1 year ago

I'm glad to hear this is useful for you and that you were able to find the solution.