Grammar withTablePrefix(Grammar $grammar) Set the table prefix and return the grammar. Parameters Grammar $grammar Return Value Grammar
int transactionLevel() Get the number of active transactions. Return Value int
void useDefaultPostProcessor() Set the query post processor to the default implementation. Return Value void
int update(string $query, array $bindings = array()) Run an update statement against the database. Parameters string $query array $bindings Return Value int
bool unprepared(string $query) Run a raw, unprepared query against the PDO connection. Parameters string $query Return Value bool
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
Builder table(string $table) Begin a fluent query against a database table. Parameters string $table Return Value Builder
mixed transaction(Closure $callback, int $attempts = 1) Execute a Closure within a transaction. Parameters Closure $callback int $attempts Return Value mixed Exceptions Throwable
void setSchemaGrammar(Grammar $grammar) Set the schema grammar used by the connection. Parameters Grammar $grammar Return Value void
Page 806 of 996