bool unprepared(string $query) Run a raw, unprepared query against the PDO connection. Parameters string $query Return Value bool
int update(string $query, array $bindings = array()) Run an update statement against the database. Parameters string $query array $bindings Return Value int
void setTablePrefix(string $prefix) Set the table prefix in use by the connection. Parameters string $prefix Return Value void
Builder table(string $table) Begin a fluent query against a database table. Parameters string $table Return Value Builder
mixed transaction(Closure $callback) Execute a Closure within a transaction. Parameters Closure $callback Return Value mixed Exceptions Throwable
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 setSchemaGrammar(Grammar $grammar) Set the schema grammar used by the connection. Parameters Grammar $grammar Return Value void
void setQueryGrammar(Grammar $grammar) Set the query 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
Page 146 of 996