memongo
    Preparing search index...

    Interface Collection

    interface Collection {
        add(data: DocumentContentWithOptionalId): { _id: string };
        count(): number;
        doc(id: string): Document;
        get(): DocumentContentWithId[];
        limit(limit: number): Collection;
        orderBy(field: string, order?: OrderType): Collection;
        remove(): void;
        removeById(id: string): void;
        skip(skip: number): Collection;
        update(update: JSONUpdate): void;
        where(conditions: WhereConditions): Collection;
    }
    Index

    Methods