← Back to Stormify Documentation

pagedQuery

fun <T : Any> pagedQuery(entityClass: Class<T>): PagedQuery<T>

Creates a PagedQuery of entityClass attached to this instance, ready to be configured.

PagedQuery<Customer> customers = stormify.pagedQuery(Customer.class);
customers.addFacet("name", Customer_.name);