1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-30 17:29:53 +02:00

- fixed float numbers decimal separator vs. setlocale

This commit is contained in:
David Grudl
2008-10-02 09:01:38 +00:00
parent 44f281de27
commit fc69f8f47b
2 changed files with 21 additions and 6 deletions

View File

@@ -360,6 +360,21 @@ class dibi
/**
* Executes SQL query and fetch pairs - Monostate for DibiConnection::query() & fetchPairs().
*
* @param array|mixed one or more arguments
* @return string
* @throws DibiException
*/
public static function fetchPairs($args)
{
$args = func_get_args();
return self::getConnection()->query($args)->fetchPairs();
}
/**
* Gets the number of affected rows.
* Monostate for DibiConnection::affectedRows()