KtorReadStandardCrudRepo

class KtorReadStandardCrudRepo<ObjectType, IdType>(baseUrl: String, unifiedRequester: UnifiedRequester, objectsSerializer: KSerializer<ObjectType>, objectsSerializerNullable: KSerializer<ObjectType?>, idsSerializer: KSerializer<IdType>) : ReadStandardCRUDRepo<ObjectType, IdType>

Constructors

Link copied to clipboard
fun <ObjectType, IdType> KtorReadStandardCrudRepo(baseUrl: String, client: <ERROR CLASS>, objectsSerializer: KSerializer<ObjectType>, objectsSerializerNullable: KSerializer<ObjectType?>, idsSerializer: KSerializer<IdType>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat)

Functions

Link copied to clipboard
open suspend override fun contains(id: IdType): Boolean
Link copied to clipboard
open suspend override fun count(): Long
Link copied to clipboard
open suspend override fun getById(id: IdType): ObjectType?
Link copied to clipboard
open suspend override fun getByPagination(pagination: Pagination): PaginationResult<ObjectType>