1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/manual/docs/Working with objects - Component overview - RawSql - Method overloading.php
2007-04-13 21:49:11 +00:00

12 lines
190 B
PHP

<code type="php">
$query = new Doctrine_RawSql($conn);
$query->select('{entity.name}')
->from('entity');
$query->addComponent("entity", "User");
$coll = $query->execute();
</code>