public static function setDb($db, $connection_name = self::DEFAULT_CONNECTION) {
        
        static::_initDbConfigWithDefaultVals($connection_name);
        static::$_db[$connection_name] = $db;
    }