Full CRUDCache Repo
open class FullCRUDCacheRepo<ObjectType, IdType, InputValueType>( parentRepo: CRUDRepo<ObjectType, IdType, InputValueType>, kvCache: FullKVCache<IdType, ObjectType>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), idGetter: (ObjectType) -> IdType) : FullReadCRUDCacheRepo<ObjectType, IdType> , WriteCRUDRepo<ObjectType, IdType, InputValueType> , CRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
Constructors
Link copied to clipboard
fun <ObjectType, IdType, InputValueType> FullCRUDCacheRepo( parentRepo: CRUDRepo<ObjectType, IdType, InputValueType>, kvCache: FullKVCache<IdType, ObjectType>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), idGetter: (ObjectType) -> IdType)
Content copied to clipboard
Functions
Link copied to clipboard
open suspend override fun create(values: List<InputValueType>): List<ObjectType>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun getByPagination(pagination: Pagination): PaginationResult<ObjectType>
Content copied to clipboard
Link copied to clipboard
open suspend override fun update(values: List<UpdatedValuePair<IdType, InputValueType>>): List<ObjectType>
Content copied to clipboard
open suspend override fun update(id: IdType, value: InputValueType): ObjectType?
Content copied to clipboard