1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-31 09:41:43 +02:00

- returns result-set rows as DibiRow objects!

- removed option 'resultObjects'
- SQlite driver removes quotes from result-set column names
- this revision may cause compatibility break
This commit is contained in:
David Grudl
2008-10-10 17:39:33 +00:00
parent ae77148773
commit 3e04378375
15 changed files with 70 additions and 137 deletions

View File

@@ -114,10 +114,8 @@ class dibi
/**
* Configuration options
*/
const
RESULT_WITH_TABLES = 'resultWithTables',
RESULT_OBJECTS = 'resultObjects',
RESULT_CLASS = 'resultClass';
const
RESULT_WITH_TABLES = 'resultWithTables'; // for MySQL
/**
* Connection registry storage for DibiConnection objects.
@@ -327,7 +325,7 @@ class dibi
* Executes SQL query and fetch result - Monostate for DibiConnection::query() & fetch().
*
* @param array|mixed one or more arguments
* @return array
* @return DibiRow
* @throws DibiException
*/
public static function fetch($args)
@@ -342,7 +340,7 @@ class dibi
* Executes SQL query and fetch results - Monostate for DibiConnection::query() & fetchAll().
*
* @param array|mixed one or more arguments
* @return array
* @return array of DibiRow
* @throws DibiException
*/
public static function fetchAll($args)