Class odbc_Result
ODBC storage result.
Note that for many ODBC drivers, the number of rows returned for a SELECT
statement is -1 regardless of the actual number of rows available (for
example when using the MS Access driver). Depending on the data back-end,
the driver might offer an efficient way of determining the actual number of
rows in the result set (e.g. SELECT @@ROWCOUNT AS row_count
in MS-SQL) or
using an explicit SELECT COUNT(*) ...
before executing the actual SELECT.
- Core\Object implements Core\Chainable
- Core\Set implements Core\Accessor
- Core\Set\Mutable implements Core\Mutator
- Core\Field implements Core\Inquiry
- Core\Storage_Result implements Countable, Iterator
- Core\Storage\SQL_Result
- Core\Storage\Driver\odbc_Result
Package: Core\Storage
Since: 3.1
Requires: PHP 5.3, ODBC
Version: 1.0
Located at Storage/Driver/odbc.inc.php
Methods summary
public
|
#
__construct( resource $result,
|
public
|
|
public
|
|
public
|
Methods inherited from Core\Storage\SQL_Result
Methods inherited from Core\Field
getDataForKey()
,
getDataForKeys()
,
getDataForUndefinedKey()
,
issetDataForKey()
,
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Core\Set\Mutable
Methods inherited from Core\Object
__autocreateFactory()
,
__call()
,
__processParameters()
,
__toString()
,
attachMethod()
,
chain()
,
getValueForKey()
,
getValueForKeyPath()
,
getValueForUndefinedKey()
,
hash()
,
issetValueForKey()
,
setValueForKey()
,
setValueForKeyPath()
,
setValueForUndefinedKey()
,
uuid()
Constants summary
Constants inherited from Core\Object
AnyParameterType
,
AutochainParameterType
,
AutocreateParameterType
,
BooleanParameterType
,
CharParameterType
,
EnumParameterType
,
IntegerParameterType
,
RealParameterType
,
StringParameterType
,
UserParameterType
Properties summary
protected
integer
|
$_index_mode
ODBC index mode used when the result set was created. |
|
protected
resource
|
$_result
ODBC query result. |
Properties inherited from Core\Storage_Result
$_v_affectedRows
,
$_v_contextArgument
,
$_v_driver
,
$_v_insertID
,
$_v_position
,
$_v_rowClass
,
$_v_rows
Properties inherited from Core\Field
Magic properties inherited from Core\Storage_Result
$affectedRows
,
$contextArgument
,
$driver
,
$insertID
,
$position
,
$row
,
$rowClass
,
$rows