PostgresConnection::logQuery()

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

PostgresConnection::prepareBindings()

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

PostgresConnection::pretend()

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

PostgresConnection::pretending()

bool pretending() Determine if the connection in a "dry run". Return Value bool

PostgresConnection::query()

Builder query() Get a new query builder instance. Return Value Builder

PostgresConnection::raw()

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

PostgresConnection::reconnect()

void reconnect() Reconnect to the database. Return Value void Exceptions LogicException

PostgresConnection::rollBack()

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

PostgresConnection::select()

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

PostgresConnection::selectFromWriteConnection()

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