Documentation for the "finders" JSON key.

Finders will most likely be the most often used elements of h2zero and can be configured in a variety of ways.

Rather than configuring selectClause bean (more on this below) type queries, the following shortcut finder generators are also available:

fieldFinders
For simple finders on either a single, or multiple fields, which return either a unique object or an ArrayList of objects.
counters
For simple counts on objects that return one and only one Integer value per query.
questions
For simple questions on objects that return one and only one Boolean value per query.
"views": [
	{
		"fields": [
			...
		],
		"finders": [
			...
		]
	}
]

Finders on views follow the same standards as those for tables.

Please see the finders page for more details