Class RowCounter

Summary

Fully Qualified Name: Zend\Db\Adapter\Driver\Oci8\Feature\RowCounter
Extends: AbstractFeature

Description

Class for count of results of a select

Methods

Name Description Defined By
getCountForSql() RowCounter
getCountForStatement() RowCounter
getName() RowCounter
getRowCountClosure() RowCounter
setDriver() Set driver AbstractFeature

Method Details

getCountForSql()

Parameter Name Type Description
$sql string

Returns: null|int

getCountForStatement()

Parameter Name Type Description
$statement \Statement

Returns: null|int

getName()

Returns: string

getRowCountClosure()

Parameter Name Type Description
$context \Zend\Db\Adapter\Driver\Oci8\Statement|string

Returns: callable

setDriver()

Set driver

Parameter Name Type Description
$driver \DriverInterface

Returns: void

Top