Documentation for the "counters
" JSON key.
Counters are simple SQL statements that return one, and only one integer value.
This is a light-weight way to get a count of something without going through a selectClause bean finder.
The key counters
is a JSON Array on the view
JSON object, for example:
"views": [
{
"fields": [
...
],
"counters": [
...
]
}
]
Counters on views follow the same standards as those for tables.
Please see the counters
page for more details