Attention

TYPO3 v6 has reached its end-of-life April 18th, 2017 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

There is no further ELTS support. It is strongly recommended updating your project.

numRows

This object allows you to specify a SELECT query, which will be executed in the database. The object then returns the number of rows, which were returned by the query.

Property

table

Data type

Table name

Description

Name of the database table to query.

Property

select

Data type

->select

Description

Select query for the operation.

The sub-property "selectFields" is overridden internally with "count(*)".

[tsref:->numRows]