SchemaGrammarInterface
interface SchemaGrammarInterface (View source)
Defines SQL compilation for portable schema operations without executing the resulting statements.
Methods
Compiles the requested schema operation into SQL supported by this database dialect.
Compiles the requested schema operation into SQL supported by this database dialect.
Compiles the requested schema operation into SQL supported by this database dialect.
Compiles the requested schema operation into SQL supported by this database dialect.
Compiles the requested schema operation into SQL supported by this database dialect.
Compiles the requested schema operation into SQL supported by this database dialect.
Compiles the requested schema operation into SQL supported by this database dialect.
Compiles the requested schema operation into SQL supported by this database dialect.
Compiles the requested schema operation into SQL supported by this database dialect.
Compiles the requested schema operation into SQL supported by this database dialect.
Compiles the requested schema operation into SQL supported by this database dialect.
Compiles the requested schema operation into SQL supported by this database dialect.
Details
compileCreateDatabase
string
compileCreateDatabase(string $database)
Compiles the requested schema operation into SQL supported by this database dialect.
compileDropDatabase
string
compileDropDatabase(string $database)
Compiles the requested schema operation into SQL supported by this database dialect.
compileCreateTable
string
compileCreateTable(TableDefinition $table)
Compiles the requested schema operation into SQL supported by this database dialect.
compileCreateTableStatements
array
compileCreateTableStatements(TableDefinition $table)
No description
compileDropTable
string
compileDropTable(string $table, bool $ifExists = false)
Compiles the requested schema operation into SQL supported by this database dialect.
compileRenameTable
string
compileRenameTable(string $from, string $to)
Compiles the requested schema operation into SQL supported by this database dialect.
compileAddColumn
string
compileAddColumn(string $table, ColumnDefinition $column)
Compiles the requested schema operation into SQL supported by this database dialect.
compileModifyColumn
string
compileModifyColumn(string $table, ColumnDefinition $column)
Compiles the requested schema operation into SQL supported by this database dialect.
compileDropColumn
string
compileDropColumn(string $table, string $column)
Compiles the requested schema operation into SQL supported by this database dialect.
compileAddIndex
string
compileAddIndex(string $table, IndexDefinition $index)
Compiles the requested schema operation into SQL supported by this database dialect.
compileDropIndex
string
compileDropIndex(string $table, string $index)
Compiles the requested schema operation into SQL supported by this database dialect.
compileAddForeignKey
string
compileAddForeignKey(string $table, ForeignKeyDefinition $foreignKey)
Compiles the requested schema operation into SQL supported by this database dialect.
compileDropForeignKey
string
compileDropForeignKey(string $table, string $foreignKey)
Compiles the requested schema operation into SQL supported by this database dialect.