1
0
mirror of synced 2024-12-13 06:46:03 +03:00
This commit is contained in:
zYne 2006-09-07 21:25:08 +00:00
parent e21562b057
commit 16fad08f01

View File

@ -105,6 +105,8 @@ abstract class Doctrine_Hydrate extends Doctrine_Access {
abstract public function getQuery();
/**
* limitSubqueryUsed
*
* @return boolean
*/
public function isLimitSubqueryUsed() {
return false;
@ -153,6 +155,8 @@ abstract class Doctrine_Hydrate extends Doctrine_Access {
$this->tableAliases = array();
}
/**
* getConnection
*
* @return Doctrine_Connection
*/
public function getConnection() {
@ -251,7 +255,7 @@ abstract class Doctrine_Hydrate extends Doctrine_Access {
$params = array_merge($params, $params);
$stmt = $this->connection->execute($query,$params);
if($this->aggregate)
return $stmt->fetchAll(PDO::FETCH_ASSOC);
@ -292,7 +296,7 @@ abstract class Doctrine_Hydrate extends Doctrine_Access {
$coll = $this->getCollection($root);
$prev[$root] = $coll;
if($this->aggregate)
$return = Doctrine::FETCH_ARRAY;