Attention

TYPO3 v8 has reached its end-of-life March 31st, 2020 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

You can order Extended Long Term Support (ELTS) here: TYPO3 ELTS.

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]