mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 06:07:39 +02:00
DibiResult: added setFormat()
This commit is contained in:
@@ -480,7 +480,8 @@ class DibiConnection extends DibiObject
|
||||
*/
|
||||
public function createResultSet(IDibiResultDriver $resultDriver)
|
||||
{
|
||||
return new DibiResult($resultDriver, $this->config['result']);
|
||||
$res = new DibiResult($resultDriver);
|
||||
return $res->setFormat(dibi::DATETIME, $this->config['result']['formatDateTime']);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user