diff --git a/en/cookbook/dql-custom-walkers.rst b/en/cookbook/dql-custom-walkers.rst index 19ce8bda6..2887a5d68 100644 --- a/en/cookbook/dql-custom-walkers.rst +++ b/en/cookbook/dql-custom-walkers.rst @@ -174,8 +174,8 @@ SQL\_NO\_CACHE query hint. createQuery($dql); - $query->setQueryHint(Query::HINT_CUSTOM_OUTPUT_WALKER, 'DoctrineExtensions\Query\MysqlWalker'); - $query->setQueryHint("mysqlWalker.sqlNoCache", true); + $query->setHint(Query::HINT_CUSTOM_OUTPUT_WALKER, 'DoctrineExtensions\Query\MysqlWalker'); + $query->setHint("mysqlWalker.sqlNoCache", true); $results = $query->getResult(); Our ``MysqlWalker`` will extend the default ``SqlWalker``. We will @@ -215,4 +215,3 @@ huge benefits with using vendor specific features. This would still allow you write DQL queries instead of NativeQueries to make use of vendor specific features. -