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

- query returns DibiResult or number of affected rows now

This commit is contained in:
David Grudl
2009-02-05 02:13:15 +00:00
parent bf6dc1cbd1
commit 32ed383326
3 changed files with 11 additions and 7 deletions

View File

@@ -264,7 +264,7 @@ class dibi
/**
* Generates and executes SQL query - Monostate for DibiConnection::query().
* @param array|mixed one or more arguments
* @return DibiResult|NULL result set object (if any)
* @return DibiResult|int result set object (if any)
* @throws DibiException
*/
public static function query($args)
@@ -278,7 +278,7 @@ class dibi
/**
* Executes the SQL query - Monostate for DibiConnection::nativeQuery().
* @param string SQL statement.
* @return DibiResult|NULL result set object (if any)
* @return DibiResult|int result set object (if any)
*/
public static function nativeQuery($sql)
{