Class: Doctrine_Import_Mysql
Source Location: /Doctrine/Import/Mysql.phpClass Doctrine_Import_Mysql
Class Overview
Located in /Doctrine/Import/Mysql.php [line 32] Doctrine_Connection_Module | --Doctrine_Import | --Doctrine_Import_MysqlAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
[ Top ]
Method Summary
array | listSequences() | lists all database sequences |
array | listTableColumns() | lists table constraints |
array | listTableConstraints() | lists table constraints |
array | listTableForeignKeys() | lists table foreign keys |
array | listTableIndexes() | lists table constraints |
array | listTables() | lists tables |
array | listViews() | lists database views |
[ Top ]
Properties
mixed
$sql
= array(
'showDatabases' => 'SHOW DATABASES',
'listTableFields' => 'DESCRIBE %s',
'listSequences' => 'SHOW TABLES',
'listTables' => 'SHOW TABLES',
'listUsers' => 'SELECT DISTINCT USER FROM USER',
'listViews' => "SHOW FULL TABLES %sWHERE Table_type = 'VIEW'",
) [line 34]
API Tags:'showDatabases' => 'SHOW DATABASES',
'listTableFields' => 'DESCRIBE %s',
'listSequences' => 'SHOW TABLES',
'listTables' => 'SHOW TABLES',
'listUsers' => 'SELECT DISTINCT USER FROM USER',
'listViews' => "SHOW FULL TABLES %sWHERE Table_type = 'VIEW'",
) [line 34]
Access: | protected |
Redefinition of:
[ Top ]
Methods
listSequences [line 48]
|
lists all database sequences
Parameters:string|null | $database: |
API Tags:
Access: | public |
Redefinition of:
- Doctrine_Import::listSequences()
- lists all database sequences
[ Top ]
listTableColumns [line 113]
|
lists table constraints
Parameters:string | $table: | database table name |
API Tags:
Access: | public |
Redefinition of:
- Doctrine_Import::listTableColumns()
- lists table constraints
[ Top ]
listTableConstraints [line 64]
|
lists table constraints
Parameters:string | $table: | database table name |
API Tags:
Access: | public |
Redefinition of:
- Doctrine_Import::listTableConstraints()
- lists table constraints
[ Top ]
listTableForeignKeys [line 103]
|
lists table foreign keys
Parameters:string | $table: | database table name |
API Tags:
Access: | public |
[ Top ]
listTableIndexes [line 153]
|
lists table constraints
Parameters:string | $table: | database table name |
API Tags:
Access: | public |
Redefinition of:
- Doctrine_Import::listTableIndexes()
- lists table constraints
[ Top ]
listTables [line 186]
|
lists tables
Parameters:string|null | $database: |
API Tags:
Access: | public |
Redefinition of:
- Doctrine_Import::listTables()
- lists tables
[ Top ]
listViews [line 196]
|
lists database views
Parameters:string|null | $database: |
API Tags:
Access: | public |
Redefinition of:
- Doctrine_Import::listViews()
- lists database views
[ Top ]