added exportSql()
This commit is contained in:
parent
82b9d0739c
commit
956b4bb0ca
@ -430,7 +430,17 @@ final class Doctrine
|
||||
*/
|
||||
public static function export($directory)
|
||||
{
|
||||
Doctrine_Export::export();
|
||||
return Doctrine_Manager::connection()->export->export($directory);
|
||||
}
|
||||
/**
|
||||
* exportSql
|
||||
* method for exporting Doctrine_Record classes to a schema
|
||||
*
|
||||
* @param string $directory
|
||||
*/
|
||||
public static function exportSql($directory)
|
||||
{
|
||||
return Doctrine_Manager::connection()->export->exportSql($directory);
|
||||
}
|
||||
/**
|
||||
* compile
|
||||
|
Loading…
x
Reference in New Issue
Block a user