MySqlConnection::setPostProcessor()

void setPostProcessor(Processor $processor) Set the query post processor used by the connection. Parameters Processor $processor Return Value void

MySqlConnection::setQueryGrammar()

void setQueryGrammar(Grammar $grammar) Set the query grammar used by the connection. Parameters Grammar $grammar Return Value void

MySqlConnection::setReadPdo()

$this setReadPdo(PDO|null $pdo) Set the PDO connection used for reading. Parameters PDO|null $pdo Return Value $this

MySqlConnection::setReconnector()

$this setReconnector(callable $reconnector) Set the reconnect instance on the connection. Parameters callable $reconnector Return Value $this

MySqlConnection::setSchemaGrammar()

void setSchemaGrammar(Grammar $grammar) Set the schema grammar used by the connection. Parameters Grammar $grammar Return Value void

MySqlConnection::setTablePrefix()

void setTablePrefix(string $prefix) Set the table prefix in use by the connection. Parameters string $prefix Return Value void

MySqlConnection::statement()

bool statement(string $query, array $bindings = array()) Execute an SQL statement and return the boolean result. Parameters string $query array $bindings Return Value bool

MySqlConnection::table()

Builder table(string $table) Begin a fluent query against a database table. Parameters string $table Return Value Builder

MySqlConnection::transaction()

mixed transaction(Closure $callback, int $attempts = 1) Execute a Closure within a transaction. Parameters Closure $callback int $attempts Return Value mixed Exceptions Throwable

MySqlConnection::transactionLevel()

int transactionLevel() Get the number of active transactions. Return Value int