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