bool unprepared(string $query) Run a raw, unprepared query against the PDO connection. Parameters string $query Return Value bool
int transactionLevel() Get the number of active transactions. Return Value int
mixed transaction(Closure $callback) Execute a Closure within a transaction. Parameters Closure $callback Return Value mixed Exceptions Throwable
Builder table(string $table) Begin a fluent query against a database table. Parameters string $table Return Value Builder
bool statement(string $query, array $bindings = array()) Execute an SQL statement and return the boolean result. Parameters string $query array $bindings Return Value bool
void setTablePrefix(string $prefix) Set the table prefix in use by the connection. Parameters string $prefix Return Value void
void setSchemaGrammar(Grammar $grammar) Set the schema grammar used by the connection. Parameters Grammar $grammar Return Value void
$this setReconnector(callable $reconnector) Set the reconnect instance on the connection. Parameters callable $reconnector Return Value $this
$this setReadPdo(PDO|null $pdo) Set the PDO connection used for reading. Parameters PDO|null $pdo Return Value $this
void setQueryGrammar(Grammar $grammar) Set the query grammar used by the connection. Parameters Grammar $grammar Return Value void
Page 146 of 996