Class DatabaseMigration

Hierarchy

  • DatabaseMigration

Constructors

Properties

Methods

Constructors

Properties

database: Megdb<DatabaseMap>

Methods

  • Moves data from the provided structure to the Megdb database.

    Parameters

    • data: object | Map<any, any> | object[]

      The data to be migrated.

    Returns boolean

    • Returns true if the migration is successful.
  • Private

    Converts various data structures to a Map.

    Parameters

    • input: object | Map<any, any> | object[]

      The input data to be converted.

    Returns Map<any, any>

    • The converted Map.

Generated using TypeDoc