Class Reader
- MvcCore\Ext\Models\Db\Reader implements MvcCore\Ext\Models\Db\IReader
Direct known subclasses
MvcCore\Ext\Models\Db\Readers\Execution, MvcCore\Ext\Models\Db\Readers\Multiple, MvcCore\Ext\Models\Db\Readers\Single, MvcCore\Ext\Models\Db\Readers\Stream
public
|
#
__construct(
Internal constructor to create reader wrapper instance. |
public
boolean
|
|
public
array
|
|
public
|
|
protected
array|null
&
|
#
fetchRawData( boolean $singleRow, integer $fetchMode = \PDO::FETCH_ASSOC )
Execute provider statement if necessary and fetch single or multiple rows into result variable, close cursor and return the result. |
protected
|
#
providerInvokeExecute( )
Execute prepared statement. If connection is lost, reconnect and if query is select, try to prepare it again and execute it again. |
protected
|
#
cleanUpData( )
Clean up property |
protected
string|null
|
protected
|
$statement
Statement wrapper object. |
|
protected
boolean|null
|
$providerExecResult
|
#
NULL
|
protected
mixed
|
$rawData
All fetched rows or single row. Not used for stream reader. |
#
NULL
|
protected
ReflectionProperty
|
$stmntOpenedProp
Internal reflection property to set |
#
NULL
|