videosphere
    Preparing search index...

    Function connectToDatabase

    • Establishes and caches the shared MongoDB connection for the current process.

      Returns Promise<__module>

      The connected Mongoose instance.