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:
parent
6ac19b04bf
commit
9b7318ab4c
@ -114,7 +114,7 @@ from newly opened EntityManager.
|
|||||||
$article = $em->find('Article', 1);
|
$article = $em->find('Article', 1);
|
||||||
|
|
||||||
This code only retrieves the ``Article`` instance with id 1 executing
|
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
|
You can still access the associated properties author and comments
|
||||||
and the associated objects they contain.
|
and the associated objects they contain.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user