I have a dynamic query for filtering, and now I have a problem where I need to use DB::raw for ordering by
$this->query->orderBy(\DB::raw("POSITION(\"$value\" IN $column)", 'asc'))
But now here I have a SQL Injection protection issue, how can I prevent $value and $column from SQL Injection without using ->setBindings
I cant use ->setBindings 'cause I have dinamic numbers of filter columns depending on the table