mirror of
https://github.com/dg/dibi.git
synced 2025-08-30 01:09:50 +02:00
DibiDriver::doQuery returns TRUE or DibiResult
This commit is contained in:
@@ -247,7 +247,7 @@ class dibi
|
||||
* Generates and executes SQL query - Monostate for DibiDriver::query()
|
||||
*
|
||||
* @param array|mixed one or more arguments
|
||||
* @return int|DibiResult
|
||||
* @return DibiResult|TRUE
|
||||
* @throws DibiException
|
||||
*/
|
||||
public static function query($args)
|
||||
@@ -263,7 +263,7 @@ class dibi
|
||||
* Executes the SQL query - Monostate for DibiDriver::nativeQuery()
|
||||
*
|
||||
* @param string SQL statement.
|
||||
* @return object|bool Result set object or TRUE on success, FALSE on failure
|
||||
* @return DibiResult|TRUE
|
||||
*/
|
||||
public static function nativeQuery($sql)
|
||||
{
|
||||
|
Reference in New Issue
Block a user