1
0
mirror of synced 2025-01-31 20:41:44 +03:00

Changed table name to be more appropriate.

This change assumes that the Article object references the articles tables, not the user table.
This commit is contained in:
Logan Bailey 2014-08-14 17:07:05 -07:00
parent 6ac19b04bf
commit 9b7318ab4c

View File

@ -114,7 +114,7 @@ from newly opened EntityManager.
$article = $em->find('Article', 1);
This code only retrieves the ``Article`` instance with id 1 executing
a single SELECT statement against the user table in the database.
a single SELECT statement against the articles table in the database.
You can still access the associated properties author and comments
and the associated objects they contain.