Connection::useDefaultQueryGrammar()

void useDefaultQueryGrammar() Set the query grammar to the default implementation. Return Value void

Connection::useDefaultPostProcessor()

void useDefaultPostProcessor() Set the query post processor to the default implementation. Return Value void

Connection::update()

int update(string $query, array $bindings = array()) Run an update statement against the database. Parameters string $query array $bindings Return Value int

Connection::unprepared()

bool unprepared(string $query) Run a raw, unprepared query against the PDO connection. Parameters string $query Return Value bool

Connection::transactionLevel()

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

Connection::transaction()

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

Connection::table()

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

Connection::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

Connection::setTablePrefix()

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

Connection::setSchemaGrammar()

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