@cachedmethod
def aliasToDbmsEnum(dbms):
 retVal = None
 if dbms:
  for (key, item) in DBMS_DICT.items():
   if ((dbms.lower() in item[0]) or (dbms.lower() == key.lower())):
    retVal = key
    break
 return retVal

@ cachedmethod def aliasToDbmsEnum ( dbms ) : retVal = None if dbms : for ( key , item ) in DBMS_DICT . items ( ) : if ( ( dbms . lower ( ) in item [ 0 ] ) or ( dbms . lower ( ) == key . lower ( ) ) ) : retVal = key break return retVal
returns major dbms name from a given alias .