12 lines
190 B
PHP
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>
|