MydbMysqliInterface
extends
MydbMysqliEscapeStringInterface
in
Tags
Table of Contents
Methods
- autocommit() : bool
- beginTransactionReadonly() : bool
- beginTransactionReadwrite() : bool
- close() : bool
- commit() : bool
- commitAndRelease() : bool
- extractServerResponse() : mysqli_result|null
- getAffectedRows() : int|null
- getConnectErrno() : int|null
- getConnectError() : string|null
- getErrNo() : int|null
- getError() : string|null
- getInsertId() : int|string|null
- getMysqli() : mysqli|null
- getWarnings() : array<string|int, mixed>
- init() : bool
- isConnected() : bool
- isServerGone() : bool
- isTransactionOpen() : bool
- mysqliReport() : bool
- readServerResponse() : MydbMysqliResultInterface|null
- realConnect() : bool
- realEscapeString() : string|null
- realQuery() : bool
- rollback() : bool
- setTransactionIsolationLevel() : bool
- setTransportOptions() : bool
Methods
autocommit()
public
autocommit(bool $enable) : bool
Parameters
- $enable : bool
Return values
boolbeginTransactionReadonly()
public
beginTransactionReadonly() : bool
Return values
boolbeginTransactionReadwrite()
public
beginTransactionReadwrite() : bool
Return values
boolclose()
public
close() : bool
Return values
boolcommit()
public
commit() : bool
Return values
boolcommitAndRelease()
public
commitAndRelease() : bool
Return values
boolextractServerResponse()
public
extractServerResponse(MydbEnvironmentInterface $environment, array<int, string> &$events) : mysqli_result|null
Parameters
- $environment : MydbEnvironmentInterface
- $events : array<int, string>
Tags
Return values
mysqli_result|nullgetAffectedRows()
public
getAffectedRows() : int|null
Return values
int|nullgetConnectErrno()
public
getConnectErrno() : int|null
Return values
int|nullgetConnectError()
public
getConnectError() : string|null
Return values
string|nullgetErrNo()
public
getErrNo() : int|null
Return values
int|nullgetError()
public
getError() : string|null
Return values
string|nullgetInsertId()
public
getInsertId() : int|string|null
Tags
Return values
int|string|nullgetMysqli()
public
getMysqli() : mysqli|null
Return values
mysqli|nullgetWarnings()
public
getWarnings() : array<string|int, mixed>
Return values
array<string|int, mixed>init()
public
init() : bool
Return values
boolisConnected()
public
isConnected() : bool
Return values
boolisServerGone()
public
isServerGone() : bool
Return values
boolisTransactionOpen()
public
isTransactionOpen() : bool
Return values
boolmysqliReport()
public
mysqliReport(int $level) : bool
Parameters
- $level : int
Return values
boolreadServerResponse()
public
readServerResponse(MydbEnvironmentInterface $environment) : MydbMysqliResultInterface|null
Parameters
- $environment : MydbEnvironmentInterface
Return values
MydbMysqliResultInterface|nullrealConnect()
public
realConnect(string $host, string $username, string $password, string $dbname, int|null $port, string|null $socket, int $flags) : bool
Parameters
- $host : string
- $username : string
- $password : string
- $dbname : string
- $port : int|null
- $socket : string|null
- $flags : int
Return values
boolrealEscapeString()
public
realEscapeString(string $string) : string|null
Parameters
- $string : string
Return values
string|nullrealQuery()
public
realQuery(string $query) : bool
Parameters
- $query : string
Return values
boolrollback()
public
rollback() : bool
Return values
boolsetTransactionIsolationLevel()
public
setTransactionIsolationLevel(string $level) : bool
Parameters
- $level : string
Return values
boolsetTransportOptions()
public
setTransportOptions(MydbOptionsInterface $options, MydbEnvironmentInterface $environment) : bool
Parameters
- $options : MydbOptionsInterface
- $environment : MydbEnvironmentInterface