Closed foron23 closed 2 years ago
Hey, yes indeed, we assume you are working with an SQL database when using Eloquent. I'm kinda interested at taking a look at that Mongo driver to see if there is anything we can easily do to support it, but no promises.
I'll keep an eye on the project then, just in case the integration gets implemented. Thank you very much!
Good morning, In order to set some context, currently I am developing a Laravel application which connects to a Mongodb database. The driver which I am using works, and my intention was to plug this library into the project in order to measure and profile the database performance. However, having the library installed according to the documentation, when I try to create a Model using Eloquent I find the following error:
mb_strpos() expects parameter 1 to be string, array given
In order to isolate the problem, I found out that after removing the package the method works as expected again.Could It be that this library is incompatible with the database paradigm which I am using? Or is it an unexpected behaviour? Thanks in advance,
Additional information: