added exportSql()
This commit is contained in:
parent
82b9d0739c
commit
956b4bb0ca
1 changed files with 11 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue