1
0
mirror of https://github.com/dg/dibi.git synced 2025-09-01 10:02:53 +02:00

multi INSERT or REPLACE command

This commit is contained in:
David Grudl
2007-05-30 00:01:10 +00:00
parent 89a7c8ac73
commit e33689a5a1
7 changed files with 45 additions and 25 deletions

View File

@@ -12,7 +12,7 @@
* @license GNU GENERAL PUBLIC LICENSE version 2
* @package dibi
* @category Database
* @version 0.8c (Revision: $WCREV$, Date: $WCDATE$)
* @version 0.8d (Revision: $WCREV$, Date: $WCDATE$)
*/
@@ -85,7 +85,7 @@ class dibi
FIELD_COUNTER = 'c', // counter or autoincrement, is integer
// dibi version
VERSION = '0.8c (Revision: $WCREV$, Date: $WCDATE$)';
VERSION = '0.8d (Revision: $WCREV$, Date: $WCDATE$)';
/**
@@ -150,7 +150,7 @@ class dibi
*
* @param array|string connection parameters
* @param string connection name
* @return void
* @return DibiDriver
* @throw DibiException
*/
static public function connect($config, $name=0)
@@ -176,8 +176,9 @@ class dibi
/** like $conn = $className::connect($config); */
self::$conn = self::$registry[$name] = new $className($config);
if (dibi::$logAll) dibi::log("OK: connected to DB '$config[driver]'");
return self::$conn;
}