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

11 lines
182 B
PHP

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