MySqlGrammar::compilePrimary()

string compilePrimary(Blueprint $blueprint, Fluent $command) Compile a primary key command. Parameters Blueprint $blueprint Fluent $command Return Value string

MySqlGrammar::compileInsertGetId()

string compileInsertGetId(Builder $query, array $values, string $sequence) Compile an insert and get ID statement into SQL. Parameters Builder $query array $values string $sequence Return Value string

MySqlGrammar::compileInsert()

string compileInsert(Builder $query, array $values) Compile an insert statement into SQL. Parameters Builder $query array $values Return Value string

MySqlGrammar::compileIndex()

string compileIndex(Blueprint $blueprint, Fluent $command) Compile a plain index key command. Parameters Blueprint $blueprint Fluent $command Return Value string

MySqlGrammar::compileForeign()

string compileForeign(Blueprint $blueprint, Fluent $command) Compile a foreign key command. Parameters Blueprint $blueprint Fluent $command Return Value string

MySqlGrammar::compileExists()

string compileExists(Builder $query) Compile an exists statement into SQL. Parameters Builder $query Return Value string

MySqlGrammar::compileEnableForeignKeyConstraints()

string compileEnableForeignKeyConstraints() Compile the command to enable foreign key constraints. Return Value string

MySqlGrammar::compileDropUnique()

string compileDropUnique(Blueprint $blueprint, Fluent $command) Compile a drop unique key command. Parameters Blueprint $blueprint Fluent $command Return Value string

MySqlGrammar::compileDropPrimary()

string compileDropPrimary(Blueprint $blueprint, Fluent $command) Compile a drop primary key command. Parameters Blueprint $blueprint Fluent $command Return Value string

MySqlGrammar::compileDropIndex()

string compileDropIndex(Blueprint $blueprint, Fluent $command) Compile a drop index command. Parameters Blueprint $blueprint Fluent $command Return Value string