![]() |
Empower C |
install tutorials examples documentation license about |
|
11.0.11 released on Jul 25, 2022 |
row-count#<query name> [ to [ define ] <variable> ]
run-query#my_query="select name from employee"
end-query
// Define variable for row-count on the spot
row-count#my_query to define row_count
if (row_count!=2) {
<div>Number of rows is not 2, but rather it is <<pf-out "%lld", row_count>></div>
}
To use an existing variable:num row_count;
row-count#my_query to row_count