Table of Contents
Methods
-
endTransaction()
: void
-
query()
: QueryBuilder
-
revertTransaction()
: void
-
sql()
: mixed
-
startTransaction()
: void
-
useConnection()
: void
endTransaction()
public
static endTransaction() : void
query()
public
static query(string|array<string|int, mixed> $collections[, null|array<string|int, mixed> $options = null ]) : QueryBuilder
Parameters
-
$collections
: string|array<string|int, mixed>
-
-
$options
: null|array<string|int, mixed>
= null
-
revertTransaction()
public
static revertTransaction() : void
sql()
public
static sql(string $sql[, null|array<string|int, mixed> $params = null ]) : mixed
Parameters
-
$sql
: string
-
-
$params
: null|array<string|int, mixed>
= null
-
startTransaction()
public
static startTransaction() : void
useConnection()
public
static useConnection(int|string $name) : void
Parameters
-
$name
: int|string
-