Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "services/migration/mongo"

Index

Functions

Const databaseConnect

  • databaseConnect(): Promise<MongoClient>

Const takeCollections

  • takeCollections(__namedParameters: { db: Db }): Promise<Record<string, Collection>>
  • Take all collections from a specific database in a object format

    Parameters

    • __namedParameters: { db: Db }
      • db: Db

    Returns Promise<Record<string, Collection>>

Generated using TypeDoc