Package dev. inmo. micro_utils. repos. pagination
Functions
get All
Link copied to clipboard
inline suspend fun <Key, Value, REPO : ReadOneToManyKeyValueRepo<Key, Value>> REPO.getAll(crossinline methodCaller: suspend REPO.(Pagination) -> PaginationResult<Key>): List<Pair<Key, List<Value>>>
Content copied to clipboard
inline suspend fun <T, ID, REPO : ReadStandardCRUDRepo<T, ID>> REPO.getAll(crossinline methodCaller: suspend REPO.(Pagination) -> PaginationResult<T>): List<T>
Content copied to clipboard
inline suspend fun <Key, Value, REPO : ReadOneToManyKeyValueRepo<Key, Value>> REPO.getAll(crossinline methodCaller: suspend REPO.(Pagination) -> PaginationResult<Key>): List<Pair<Key, List<Value>>>
Content copied to clipboard
inline suspend fun <T, ID, REPO : ReadStandardCRUDRepo<T, ID>> REPO.getAll(crossinline methodCaller: suspend REPO.(Pagination) -> PaginationResult<T>): List<T>
Content copied to clipboard
inline suspend fun <Key, Value, REPO : ReadOneToManyKeyValueRepo<Key, Value>> REPO.getAll(crossinline methodCaller: suspend REPO.(Pagination) -> PaginationResult<Key>): List<Pair<Key, List<Value>>>
Content copied to clipboard
inline suspend fun <T, ID, REPO : ReadStandardCRUDRepo<T, ID>> REPO.getAll(crossinline methodCaller: suspend REPO.(Pagination) -> PaginationResult<T>): List<T>
Content copied to clipboard