DatabaseSchema: ezcDbSchemaDiffDbWriter
[ ]
[ ]
[ ]
[ ]
[ ]
Interface: ezcDbSchemaDiffDbWriter
|
This class provides the interface for database schema difference writers [
source]
Parents
ezcDbSchemaDiffWriter
|
--ezcDbSchemaDiffDbWriter
Method Summary
|
public void |
applyDiffToDb(
$db, $schemaDiff )
Applies the differences contained in $schemaDiff to the database handler $db |
|
public array(string) |
convertDiffToDDL(
$schemaDiff )
Returns an array with SQL DDL statements from the differences from $schemaDiff |
Inherited Methods
From
ezcDbSchemaDiffWriter :
Methods
applyDiffToDb
Applies the differences contained in $schemaDiff to the database handler $db
Parameters
convertDiffToDDL
Returns an array with SQL DDL statements from the differences from $schemaDiff
Converts the schema differences contained in $schemaDiff to SQL DDL that can be used to upgrade an existing database to the new version with the differences from $schemaDiff. The SQL queries are returned as an array.
Parameters
Last updated: Thu, 01 Nov 2007