Class DbCache
DbCache Class Definition. Singleton class for handling the database cache.
Methods summary
public
|
|
public
|
|
public
|
|
public
mixed
|
|
public
|
|
public
array
|
|
public
|
|
public
boolean
|
|
public
object
|
|
private
|
|
public
array
|
|
private
array
|
#
getSchemaMeta( string $tableName )
Get table meta information from cache or extract it, if missing. |
private
array
|
|
private
string
|
Properties summary
private
boolean
|
$hasSchema
Whether there is a schema or not. |
#
false
|
public
array
|
$cache
Stores the queries cache. |
#
array()
|
private
array
|
$schema
Stores tables schema. |
#
array()
|
private
array
|
$tables
Stores the state of the tables(if the table has been changed, after cached query). |
#
array()
|
private
array
|
$statements
Stores the prepared database statements. |
#
array()
|
private
array
|
$dsn
Data source name. |