T extends BaseEntity
abstract
deleteBy<U extends keyof T>(prop: U,val: T[U],): Promise<RepositoryResult<T, NotFoundError>>
deleteById(id: T["Id"]): Promise<RepositoryResult<T, NotFoundError>>
abstract
fetchBy<U extends keyof T>(prop: U,val: T[U],): Promise<RepositoryResult<T, NotFoundError>>
fetchById(id: T["Id"]): Promise<RepositoryResult<T, NotFoundError>>