Transforming results of row queries to other types

The default type of a row query result is an instance of a class that implements IQueryResult. This object provides zero or more row objects of type QueryRow<Object>. The IQueryResult object is iterable. You convert this result to another type for special purposes, such as using a row query result as the data source for a list view in a page configuration file.

You can specify whatever return type is most convenient for your program. The type does not need to match the native types for the columns in the database.

Important: Choose the type that you want for the result carefully. Performance characteristics vary depending on the type that you choose.