getAllItems

abstract fun getAllItems(): Flow<List<DbTeam>>

Retrieves all DbTeam entities from the database, ordered by name in ascending order.

This query returns a Flow that emits the latest list of teams from the database upon subscription and subsequently whenever the data changes.

Return

A Flow emitting a list of all DbTeam entities in the database, ordered by name.