Skip to content

Commit f6d8853

Browse files
committed
minor #16450 [Doctrine] Update doctrine.rst (steveclifton)
This PR was submitted for the 6.0 branch but it was merged into the 5.4 branch instead. Discussion ---------- [Doctrine] Update doctrine.rst Update deprecated command to new Doctrine 2.2 syntax ``` User Deprecated: Since doctrine/doctrine-bundle 2.2: The "Doctrine\Bundle\DoctrineBundle\Command\Proxy\RunSqlDoctrineCommand" (doctrine:query:sql) is deprecated, use dbal:run-sql command instead. ``` Commits ------- 1ec427a Update doctrine.rst
2 parents 85322e3 + 1ec427a commit f6d8853

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doctrine.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,10 @@ you can query the database directly:
397397

398398
.. code-block:: terminal
399399
400-
$ php bin/console doctrine:query:sql 'SELECT * FROM product'
400+
$ php bin/console dbal:run-sql 'SELECT * FROM product'
401401
402402
# on Windows systems not using Powershell, run this command instead:
403-
# php bin/console doctrine:query:sql "SELECT * FROM product"
403+
# php bin/console dbal:run-sql "SELECT * FROM product"
404404
405405
Take a look at the previous example in more detail:
406406

0 commit comments

Comments
 (0)