DbStatementCache
in package
Container to avoid having many prepared instances of the same query.
Table of Contents
Methods
- __construct() : mixed
- clear() : void
- get() : IDbStatement
- remove() : void
Methods
__construct()
public
__construct(IDbConnection $dbConn) : mixed
Parameters
- $dbConn : IDbConnection
clear()
public
clear() : void
get()
public
get(string $query) : IDbStatement
Parameters
- $query : string
Return values
IDbStatementremove()
public
remove(string $query) : void
Parameters
- $query : string