Closed denitsa-md closed 4 years ago
I use a different database connection for a lot of my models which is not my default connection.
So I was getting an error because the countQuery inside BuilderWithPaginationHavingSupport was trying to access my default connection.
BuilderWithPaginationHavingSupport
This PR fixes that for me.
Thanks!
Thanks for the package @royduin!
I use a different database connection for a lot of my models which is not my default connection.
So I was getting an error because the countQuery inside
BuilderWithPaginationHavingSupport
was trying to access my default connection.This PR fixes that for me.