livewire-powergrid icon indicating copy to clipboard operation
livewire-powergrid copied to clipboard

get db information from the query

Open cmsedore opened this issue 3 years ago • 1 comments

The current code assumes that your data source model/query is on the default connection, rather than pulling the database driver name from the query/model of the data source. In my case, this caused it to try to use ILIKE on a database that did not support it because my default database was Postgres and my powergrid data source is from a DB that didn't support it.

cmsedore avatar Aug 08 '22 20:08 cmsedore

Hi, thanks for submitting your PR to powergrid!.

I'll leave it open for now as the tests are sure to fail due to a recent update to doctrine/dbal.

luanfreitasdev avatar Aug 08 '22 20:08 luanfreitasdev