← Back to Stormify Documentation

pagedQuery

inline fun <T : Any> pagedQuery(): PagedQuery<T>

Creates a PagedQuery of T working on this instance, ready to be configured.

val customers = stormify.pagedQuery<Customer>()
customers.addFacet("name", Customer_.name)