Skip to content

Commit 62bd1fe

Browse files
committed
Merge pull request symfony#3348 from bicpi/uppercase_sql_keywords
[Cookbook][Security] Use uppercase SQL keywords in query
2 parents 869240d + 752585a commit 62bd1fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cookbook/security/entity_provider.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ user records and encode their password, see :ref:`book-security-encoding-user-pa
226226

227227
.. code-block:: bash
228228
229-
$ mysql> select * from acme_users;
229+
$ mysql> SELECT * FROM acme_users;
230230
+----+----------+------+------------------------------------------+--------------------+-----------+
231231
| id | username | salt | password | email | is_active |
232232
+----+----------+------+------------------------------------------+--------------------+-----------+
@@ -682,14 +682,14 @@ this:
682682

683683
.. code-block:: bash
684684
685-
$ mysql> select * from acme_role;
685+
$ mysql> SELECT * FROM acme_role;
686686
+----+-------+------------+
687687
| id | name | role |
688688
+----+-------+------------+
689689
| 1 | admin | ROLE_ADMIN |
690690
+----+-------+------------+
691691
692-
$ mysql> select * from user_role;
692+
$ mysql> SELECT * FROM user_role;
693693
+---------+---------+
694694
| user_id | role_id |
695695
+---------+---------+

0 commit comments

Comments
 (0)