1
0
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:
David Grudl
2008-01-12 01:20:23 +00:00
parent de4a882788
commit da0a239d6d
3 changed files with 65 additions and 2 deletions

View File

@@ -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
*/