ConnectionInterface::select()

array select(string $query, array $bindings = array()) Run a select statement against the database. Parameters string $query array $bindings Return Value array

ConnectionInterface::rollBack()

void rollBack() Rollback the active database transaction. Return Value void

ConnectionInterface::raw()

Expression raw(mixed $value) Get a new raw query expression. Parameters mixed $value Return Value Expression

ConnectionInterface::pretend()

array pretend(Closure $callback) Execute the given callback in "dry run" mode. Parameters Closure $callback Return Value array

ConnectionInterface::prepareBindings()

array prepareBindings(array $bindings) Prepare the query bindings for execution. Parameters array $bindings Return Value array

ConnectionInterface::insert()

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

ConnectionInterface::delete()

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

ConnectionInterface::commit()

void commit() Commit the active database transaction. Return Value void

ConnectionInterface::beginTransaction()

void beginTransaction() Start a new database transaction. Return Value void

ConnectionInterface::affectingStatement()

int affectingStatement(string $query, array $bindings = array()) Run an SQL statement and get the number of rows affected. Parameters string $query array $bindings Return Value int