select

fun select(where: Where<T>? = null, orderBy: List<OrderBy<T>> = emptyList(), limit: Long? = null, offset: Long? = null, expiresAfter: ERROR CLASS: Symbol not found for Instant?? = null): ERROR CLASS: Symbol not found for Flow<kotlin/collections/List<T>>(source)

Select using where clause. If where is null, all rows will be selected.

Simple example with where and orderBy:

val merchantsFlow = store.select(
where = Merchant::category like "Restaurant",
orderBy = listOf(OrderBy(Merchant::createdAt, OrderDirection.DESC))
)