array select(string $query, array $bindings = array(), bool $useReadPdo = true) Run a select statement against the database. Parameters string $query array $bindings bool $useReadPdo Return Value array
mixed selectOne(string $query, array $bindings = array()) Run a select statement and return a single result. Parameters string $query array $bindings Return Value mixed
Expression raw(mixed $value) Get a new raw query expression. Parameters mixed $value Return Value Expression
void reconnect() Reconnect to the database. Return Value void Exceptions LogicException
Builder query() Get a new query builder instance. Return Value Builder
bool pretending() Determine if the connection in a "dry run". Return Value bool
void listen(Closure $callback) Register a database query listener with the connection. Parameters Closure $callback Return Value void
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
array pretend(Closure $callback) Execute the given callback in "dry run" mode. Parameters Closure $callback Return Value array
Page 808 of 996