cursor($query, $bindings = array(), $useReadPdo = true) Parameters $query $bindings $useReadPdo
void commit() Commit the active database transaction. Return Value void
void bindValues(PDOStatement $statement, array $bindings) Bind values to their parameters in the given statement. Parameters PDOStatement $statement array $bindings Return Value void
void beginTransaction() Start a new database transaction. Return Value void Exceptions Exception
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 class MySqlConnection extends Connection (View source) Traits DetectsDeadlocks DetectsLostConnections
void __construct(Connection $connection) Create a new database Schema manager. Parameters Connection $connection Return Value void
Blueprint table(string $table, Closure $callback) Modify a table on the schema. Parameters string $table Closure $callback Return Value Blueprint
$this setConnection(Connection $connection) Set the database connection instance. Parameters Connection $connection Return Value $this
Blueprint rename(string $from, string $to) Rename a table on the schema. Parameters string $from string $to Return Value Blueprint
Page 402 of 996