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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user