1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/manual/codes/Basic Components - Query - Relation operators.php

16 lines
264 B
PHP
Raw Normal View History

2006-07-24 01:08:06 +04:00
<?php
$query->from("User:Email");
$query->execute();
// executed SQL query:
// SELECT ... FROM user INNER JOIN email ON ...
$query->from("User.Email");
$query->execute();
// executed SQL query:
// SELECT ... FROM user LEFT JOIN email ON ...
?>