mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 22:26:43 +02:00
- renamed configuration keys result:object, result:withtables and format:* to resultObject resp. resultWithTables (due compatibility with PHP 5.3 INI parser)
- updated class Object
This commit is contained in:
@@ -10,7 +10,7 @@ try {
|
||||
dibi::connect(array(
|
||||
'driver' => 'sqlite',
|
||||
'database' => 'sample.sdb',
|
||||
'result:objects' => TRUE, // fetch rows as objects
|
||||
'resultObjects' => TRUE, // fetch rows as objects
|
||||
));
|
||||
echo 'OK';
|
||||
|
||||
|
@@ -13,8 +13,8 @@ date_default_timezone_set('Europe/Prague');
|
||||
dibi::connect(array(
|
||||
'driver' => 'sqlite',
|
||||
'database' => 'sample.sdb',
|
||||
'format:date' => "'Y-m-d'",
|
||||
'format:datetime' => "'Y-m-d H-i-s'",
|
||||
'formatDate' => "'Y-m-d'",
|
||||
'formatDateTime' => "'Y-m-d H-i-s'",
|
||||
));
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user