Class MongoPersistence

Hierarchy

  • DatabasePersistence
    • MongoPersistence

Constructors

Properties

client: MongoClient
connection?: MongoConnection
ormSequences: ReflectionClass<any>
session: DatabaseSession<any>

Methods

  • Type Parameters

    • T extends OrmEntity

    Parameters

    • classSchema: ReflectionClass<T>
    • items: T[]

    Returns Promise<void>

  • Type Parameters

    • T extends OrmEntity

    Parameters

    • classSchema: ReflectionClass<T>
    • items: T[]

    Returns Promise<void>

  • Type Parameters

    • T extends OrmEntity

    Parameters

    • classSchema: ReflectionClass<T>
    • changeSets: DatabasePersistenceChangeSet<T>[]

    Returns Promise<void>

Generated using TypeDoc