class MysqlSchemaParser extends AbstractSchemaParser
Mysql database schema parser.
Methods
__construct(ConnectionInterface $dbh = null) | from AbstractSchemaParser | |
setConnection(ConnectionInterface $dbh)
Sets the database connection. |
from AbstractSchemaParser | |
ConnectionInterface |
getConnection()
Gets the database connection. |
from AbstractSchemaParser |
setMigrationTable(string $migrationTable)
Setter for the migrationTable property |
from AbstractSchemaParser | |
string |
getMigrationTable()
Getter for the migrationTable property |
from AbstractSchemaParser |
string[] |
getWarnings()
Gets array of warning messages. |
from AbstractSchemaParser |
setGeneratorConfig(GeneratorConfigInterface $config)
Sets the GeneratorConfig to use in the parsing. |
from AbstractSchemaParser | |
GeneratorConfig |
getGeneratorConfig()
Gets the GeneratorConfig option. |
from AbstractSchemaParser |
mixed |
getBuildProperty(string $name)
Gets a specific propel (renamed) property from the build. |
from AbstractSchemaParser |
setPlatform($platform) | from AbstractSchemaParser | |
getPlatform() | from AbstractSchemaParser | |
int | parse(Database $database) | |
Column |
getColumnFromRow($row, Table $table)
Factory method creating a Column object based on a row from the 'show columns from ' MySQL query result. |
Details
in AbstractSchemaParser at line 70
public
__construct(ConnectionInterface $dbh = null)
in AbstractSchemaParser at line 82
public
setConnection(ConnectionInterface $dbh)
Sets the database connection.
in AbstractSchemaParser at line 91
public ConnectionInterface
getConnection()
Gets the database connection.
in AbstractSchemaParser at line 101
public
setMigrationTable(string $migrationTable)
Setter for the migrationTable property
in AbstractSchemaParser at line 111
public string
getMigrationTable()
Getter for the migrationTable property
in AbstractSchemaParser at line 131
public string[]
getWarnings()
Gets array of warning messages.
in AbstractSchemaParser at line 141
public
setGeneratorConfig(GeneratorConfigInterface $config)
Sets the GeneratorConfig to use in the parsing.
in AbstractSchemaParser at line 151
public GeneratorConfig
getGeneratorConfig()
Gets the GeneratorConfig option.
in AbstractSchemaParser at line 162
public mixed
getBuildProperty(string $name)
Gets a specific propel (renamed) property from the build.
in AbstractSchemaParser at line 227
public
setPlatform($platform)
in AbstractSchemaParser at line 232
public
getPlatform()
at line 92
public int
parse(Database $database)
at line 154
public Column
getColumnFromRow($row, Table $table)
Factory method creating a Column object based on a row from the 'show columns from ' MySQL query result.