Story Maker
    Preparing search index...

    Function getDBAndClient

    • Retrieves both the initialized database instance and the MongoDB client.

      Returns { client: MongoClient; db: Db }

      An object containing the database instance and MongoDB client.

      If the database has not been initialized.