Member Junction
    Preparing search index...
    • Clean up the global database connection

      Closes the mssql ConnectionPool if it exists and is connected. Should be called when the CLI command completes to ensure proper cleanup.

      Returns Promise<void>

      Promise that resolves when cleanup is complete

      try {
      // Do work with database
      } finally {
      await cleanupProvider();
      }