MySqlConnection::cursor()

cursor($query, $bindings = array(), $useReadPdo = true) Parameters $query $bindings $useReadPdo

MySqlConnection::commit()

void commit() Commit the active database transaction. Return Value void

MySqlConnection::bindValues()

void bindValues(PDOStatement $statement, array $bindings) Bind values to their parameters in the given statement. Parameters PDOStatement $statement array $bindings Return Value void

MySqlConnection::beginTransaction()

void beginTransaction() Start a new database transaction. Return Value void Exceptions Exception

MySqlConnection::affectingStatement()

int affectingStatement(string $query, array $bindings = array()) Run an SQL statement and get the number of rows affected. Parameters string $query array $bindings Return Value int

MySqlConnection

MySqlConnection class MySqlConnection extends Connection (View source) Traits DetectsDeadlocks DetectsLostConnections

MySqlBuilder::__construct()

void __construct(Connection $connection) Create a new database Schema manager. Parameters Connection $connection Return Value void

MySqlBuilder::table()

Blueprint table(string $table, Closure $callback) Modify a table on the schema. Parameters string $table Closure $callback Return Value Blueprint

MySqlBuilder::setConnection()

$this setConnection(Connection $connection) Set the database connection instance. Parameters Connection $connection Return Value $this

MySqlBuilder::rename()

Blueprint rename(string $from, string $to) Rename a table on the schema. Parameters string $from string $to Return Value Blueprint