Is there any way to dump the query from a Doctrine Mongodb ODM query builder.
Something like $builder->getQuery()->toString()
is what I am looking for. Any alternative would be useful. And also a way to dump parameters.
I need to see in a particularly complex build process, where certain $builder->addOr()
statements are getting nested.