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