propelorm / PropelBundle

PropelBundle for Symfony.
http://propelorm.org/Propel/documentation/#working-with-symfony2
180 stars 156 forks source link

Symfony 3.4 + How to print sql query #480

Closed parthiv2585 closed 6 years ago

parthiv2585 commented 6 years ago

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.