app / de.uniks.codliners.stock_simulator.database / AccountDao / getDepotValuesLimited

getDepotValuesLimited

abstract fun getDepotValuesLimited(limit: Int): LiveData<List<DepotValue>>

Returns the last {limit} DepotValues as a List, wrapped in LiveData.

Parameters

limit - The limit Int restricts the query to last {limit} DepotValues.

Return
LiveData containing a List of the last {limit} DepotValues in ascending order.