mirror of
https://github.com/dg/dibi.git
synced 2025-08-30 09:19:48 +02:00
* dibi::loadFile() extreme fast SQL dump loading
This commit is contained in:
@@ -392,6 +392,19 @@ class dibi
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Import SQL dump from file - extreme fast!
|
||||
*
|
||||
* @param filename
|
||||
* @return int count of sql commands
|
||||
*/
|
||||
public static function loadFile($file)
|
||||
{
|
||||
return self::getConnection()->loadFile($file);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Experimental; will be used in PHP 5.3
|
||||
*/
|
||||
|
Reference in New Issue
Block a user