This commit is contained in:
parent
fbb5a53223
commit
5c5be484bf
@ -20,5 +20,5 @@ $users = $q->from('User u')->where('u.id IN (1,2,3)')->execute();
|
|||||||
|
|
||||||
// Doctrine uses 'connection 2' for fetching here
|
// Doctrine uses 'connection 2' for fetching here
|
||||||
$groups = $q->from('Group g')->where('g.id IN (1,2,3)')->execute();
|
$groups = $q->from('Group g')->where('g.id IN (1,2,3)')->execute();
|
||||||
?></code>
|
</code>
|
||||||
|
|
||||||
|
@ -19,6 +19,4 @@ $conn = Doctrine_Manager::connection($dbh);
|
|||||||
|
|
||||||
// connects database and performs a query
|
// connects database and performs a query
|
||||||
$conn->query('FROM User u');
|
$conn->query('FROM User u');
|
||||||
|
</code>
|
||||||
?></code>
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user