Zum Inhalt springen

Early Materialization (ARCH8056)

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Key kotlin.orm.early-materialization · Severity warning · Category orm

Flags filter / sortedBy / count applied in memory to a repository result that the query could have done (findAll().filter { }).

repo.findAll().filter { it.active }
repo.findByActiveTrue()

Push the predicate into the query (a derived query, a Specification, a WHERE clause).