Skip to content

Commit 38bbd72

Browse files
authored
Update doctrine.rst
1 parent 79a27f1 commit 38bbd72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reference/configuration/doctrine.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ getConnection method and the name of the connection::
161161
.. code-block:: php
162162
163163
$connection = $this->getDoctrine()->getConnection('customer');
164-
$result = $connection->fetchAll('select * from table');
164+
$result = $connection->fetchAll('select name from customer');
165+
::
165166

166167
Doctrine ORM Configuration
167168
--------------------------

0 commit comments

Comments
 (0)