UNPKG

octonom

Version:

Object Document Mapper for any database

9 lines (8 loc) 333 B
import { Collection, ICollectionInsertOptions } from './collection'; import { Model } from './model'; export declare class ArrayCollection<T extends Model> extends Collection<T> { array: object[]; clear(): void; insert(model: T, options?: ICollectionInsertOptions): Promise<void>; findById(id: string): Promise<T>; }