import { IAdapterOptionsInput } from './types' ; import { IObject } from './utils' ; import { IItem , ICollection , IQuery , IInsert } from 'debe' ; export abstract class DebeAdapter < TBase = IItem > { chunks = 1000000 ; chunkMode = 'parallel' ; abstract initialize ( collections , options ) ; abstract close ( ) ; abstract get ( collection , id ) ; abstract remove ( collection , ids ) ; abstract all ( collection , query ) ; abstract count ( collection , query ) ; abstract insert ( collection , items , options ) ; }