void rollBack() Rollback the active database transaction. Return Value void
void reconnect() Reconnect to the database. Return Value void Exceptions LogicException
Expression raw(mixed $value) Get a new raw query expression. Parameters mixed $value Return Value Expression
Builder query() Get a new query builder instance. Return Value Builder
bool pretending() Determine if the connection in a "dry run". Return Value bool
array pretend(Closure $callback) Execute the given callback in "dry run" mode. Parameters Closure $callback Return Value array
array prepareBindings(array $bindings) Prepare the query bindings for execution. Parameters array $bindings Return Value array
void logQuery(string $query, array $bindings, float|null $time = null) Log a query in the connection's query log. Parameters string $query array $bindings float|null $time Return Value void
bool logging() Determine whether we're logging queries. Return Value bool
void listen(Closure $callback) Register a database query listener with the connection. Parameters Closure $callback Return Value void
Page 135 of 996