1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/manual/codes/Working with objects - Component overview - RawSql - Method overloading.php
2007-02-23 20:57:38 +00:00

11 lines
182 B
PHP

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