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.
Properties¶
table¶
-
table
¶ -
- Type
- Table name
Name of the database table to query.
select¶
Example¶
Get the number of content elements within certain col
of the current
page.
10 = FLUIDTEMPLATE
10 {
variables {
numberOfContentElementsInColPosOne = TEXT
numberOfContentElementsInColPosOne.numRows {
table = tt_content
select.where = {#colPos}=1
}
}
}
Copied!