streamAll

@GenerateBridge
open fun streamAll(): Stream<Entity>

Find all entities of this type. This method is a shortcut for findAll().stream(). It requires a transaction to work. Without a transaction, the underlying cursor can be closed before the end of the stream.

Return

a Stream containing all results, without paging

See also

PanacheCompanion.findAll
PanacheCompanion.listAll

@GenerateBridge
open fun streamAll(sort: Sort): Stream<Entity>

Find all entities of this type, in the given order. This method is a shortcut for findAll(sort).stream(). It requires a transaction to work. Without a transaction, the underlying cursor can be closed before the end of the stream.

Return

a Stream containing all results, without paging

See also

PanacheCompanion.findAll
PanacheCompanion.listAll

Parameters

sort

the sort order to use