1
0
mirror of synced 2025-01-18 22:41:43 +03:00
This commit is contained in:
zYne 2007-05-24 22:08:54 +00:00
parent b1a7875618
commit 1e5c0d674c

View File

@ -69,14 +69,14 @@ class Doctrine_Connection_Oracle extends Doctrine_Connection
$this->options['result_prefetching'] = false;
*/
parent::__construct($manager, $adapter);
}
}
/**
* Sets up the date/time format
*
*
*/
public function setDateFormat($format = 'YYYY-MM-DD HH24:MI:SS')
{
$this->exec('ALTER SESSION SET NLS_DATE_FORMAT "'.$format.'";');
public function setDateFormat($format = 'YYYY-MM-DD HH24:MI:SS')
{
$this->exec('ALTER SESSION SET NLS_DATE_FORMAT = "' . $format . '"');
}
/**
* Adds an driver-specific LIMIT clause to the query