Hi,
My query as below.
$processCalculations = ProcessCalculationQuery::create()->_and() ->_if($search_calculation) ->filterByCalculation('%'.$search_calculation.'%', ProcessCalculationQuery::LIKE) ->_endif() ->orderBy($sort,$sortType)->find(); How to print Query ?
Hi, My query as below.
$processCalculations = ProcessCalculationQuery::create()->_and() ->_if($search_calculation) ->filterByCalculation('%'.$search_calculation.'%', ProcessCalculationQuery::LIKE) ->_endif() ->orderBy($sort,$sortType)->find();
How to print Query ?I have try toString(); but it's not working.