phpDocumentor

MydbOptionsInterface

Tags
author

Sergei Shilko contact@sshilko.com

license

https://opensource.org/licenses/mit-license.php MIT

see
https://github.com/sshilko/php-sql-mydb

Table of Contents

Constants

TRANSACTION_ISOLATION_LEVEL_DEFAULT  = 'REPEATABLE READ'
TRANSACTION_ISOLATION_LEVEL_READ_COMMITTED  = 'READ COMMITTED'
TRANSACTION_ISOLATION_LEVEL_READ_UNCOMMITTED  = 'READ UNCOMMITTED'
TRANSACTION_ISOLATION_LEVEL_REPEATABLE_READ  = 'REPEATABLE READ'
TRANSACTION_ISOLATION_LEVEL_SERIALIZABLE  = 'SERIALIZABLE'

Methods

getCharset()  : string
getClientErrorLevel()  : int
getConnectTimeout()  : int
getErrorReporting()  : int
getNetworkBufferSize()  : int
getNetworkReadBuffer()  : int
getNonInteractiveTimeout()  : int
getReadTimeout()  : int
getServerSideSelectTimeout()  : int
getTimeZone()  : string
getTransactionIsolationLevel()  : string|null
isAutocommit()  : bool
isPersistent()  : bool
isReadonly()  : bool
setAutocommit()  : void
setCharset()  : void
setClientErrorLevel()  : void
setConnectTimeout()  : void
setErrorReporting()  : void
setNetworkBufferSize()  : void
setNetworkReadBuffer()  : void
setNonInteractiveTimeout()  : void
setPersistent()  : void
setReadonly()  : void
setReadTimeout()  : void
setServerSideSelectTimeout()  : void
setTimeZone()  : void
setTransactionIsolationLevel()  : void

Constants

TRANSACTION_ISOLATION_LEVEL_READ_COMMITTED

public mixed TRANSACTION_ISOLATION_LEVEL_READ_COMMITTED = 'READ COMMITTED'

TRANSACTION_ISOLATION_LEVEL_READ_UNCOMMITTED

public mixed TRANSACTION_ISOLATION_LEVEL_READ_UNCOMMITTED = 'READ UNCOMMITTED'

TRANSACTION_ISOLATION_LEVEL_REPEATABLE_READ

public mixed TRANSACTION_ISOLATION_LEVEL_REPEATABLE_READ = 'REPEATABLE READ'

TRANSACTION_ISOLATION_LEVEL_SERIALIZABLE

public mixed TRANSACTION_ISOLATION_LEVEL_SERIALIZABLE = 'SERIALIZABLE'

Methods

getServerSideSelectTimeout()

public getServerSideSelectTimeout() : int
Return values
int

getTransactionIsolationLevel()

public getTransactionIsolationLevel() : string|null
Return values
string|null

setAutocommit()

public setAutocommit(bool $autocommit) : void
Parameters
$autocommit : bool

setClientErrorLevel()

public setClientErrorLevel(int $mysqliReport) : void
Parameters
$mysqliReport : int

setConnectTimeout()

public setConnectTimeout(int $seconds) : void
Parameters
$seconds : int

setErrorReporting()

public setErrorReporting(int $errorReporting) : void
Parameters
$errorReporting : int

setNetworkBufferSize()

public setNetworkBufferSize(int $bytes) : void
Parameters
$bytes : int

setNetworkReadBuffer()

public setNetworkReadBuffer(int $bytes) : void
Parameters
$bytes : int

setNonInteractiveTimeout()

public setNonInteractiveTimeout(int $nonInteractiveTimeout) : void
Parameters
$nonInteractiveTimeout : int

setPersistent()

public setPersistent(bool $persistent) : void
Parameters
$persistent : bool

setServerSideSelectTimeout()

public setServerSideSelectTimeout(int $seconds) : void
Parameters
$seconds : int

setTimeZone()

public setTimeZone(string $timeZone) : void
Parameters
$timeZone : string

setTransactionIsolationLevel()

public setTransactionIsolationLevel(string $isolationLevel) : void
Parameters
$isolationLevel : string

        
On this page

Search results