1
0
mirror of synced 2024-12-14 07:06:04 +03:00
doctrine2/manual/codes/Basic Components - RawSql - Method overloading.php
2006-07-23 21:08:06 +00:00

11 lines
185 B
PHP

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