OdbcSchemaGrammar
final class OdbcSchemaGrammar implements SchemaGrammarInterface (View source)
Provides the odbc schema grammar contract for the database subsystem.
Methods
Initializes this OdbcSchemaGrammar with the collaborators and state required by its database contract.
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
__construct
__construct(OdbcSqlEscaper $escaper, DatabaseConfig $config)
Initializes this OdbcSchemaGrammar with the collaborators and state required by its database contract.
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.