maxwkf

Results 5 comments of maxwkf

By using the function setApplyColumnCheck, it then bypass the checking on column and apply original where clause. ```php $query = Entry::query() ->setApplyColumnCheck(false) ```

> Would a better fix not be to change the `!Str::startsWith('data->'` to be `Str::contains('data->` ? This line was not introduced by me.

> Yep - basically... one small change (maybe a copy/paste issue on your side). > > ``` > protected function column($column) > { > if (! is_string($column)) { > return...

> What about adding a check for the table alias... something like: > > ``` > protected function column($column) > { > if (! is_string($column)) { > return $column; >...

> Simpler yes but it wouldn’t work the same. Stick with what I did :) > […](#) > On 5 Sep 2022, at 14:49, maxwkf ***@***.***> wrote:  What about...