Documentation

MySQLQuery
in package

Table of Contents

Methods

endTransaction()  : void
query()  : QueryBuilder
revertTransaction()  : void
sql()  : mixed
startTransaction()  : void
useConnection()  : void

Methods

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
Return values
QueryBuilder

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

        
On this page

Search results