src/ORM/Connect/TempDatabase.php
protected function isDBTemp($name)
    {
        $prefix = Environment::getEnv('SS_DATABASE_PREFIX') ?: 'ss_';
        $result = preg_match(
            sprintf('/^%stmpdb_[0-9]+_[0-9]+$/i', preg_quote($prefix, '/')),
            $name
        );
        return $result === 1;
    }
protected function isDBTemp($name)
    {
        $prefix = Environment::getEnv('SS_DATABASE_PREFIX') ?: 'ss_';
        $result = preg_match(
            sprintf('/^%stmpdb_[0-9]+_[0-9]+$/i', preg_quote($prefix, '/')),
            $name
        );
        return $result === 1;
    }
protected function isDBTemp ( $ name ) { $ prefix = Environment :: getEnv ( 'SS_DATABASE_PREFIX' ) ? : 'ss_' ; $ result = preg_match ( sprintf ( '/^%stmpdb_[0-9]+_[0-9]+$/i' , preg_quote ( $ prefix , '/' ) ) , $ name ) ; return $ result === 1 ; }
Check if the given name matches the temp_db pattern

@param string $name
@return bool
Check if the given name matches the temp_db pattern