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

11 lines
182 B
PHP
Raw Normal View History

2006-07-24 01:08:06 +04:00
<?php
$query = new Doctrine_RawSql($conn);
2006-07-24 01:08:06 +04:00
$query->select('{entity.name}')
->from('entity');
$query->addComponent("entity", "User");
$coll = $query->execute();
?>