(version)
return retVal
Checks if the recognized DBMS version is at least the version
    specified
Checks if the recognized DBMS version is at least the version
    specified
Checks if the recognized DBMS version is at least the version specified
def isDBMSVersionAtLeast(version):
    """
    Checks if the recognized DBMS version is at least the version
    specified
    """

    retVal = None

    if Backend.getVersion() and Backend.getVersion() != UNKNOWN_DBMS_VERSION:
        value = Backend.getVersion().replace(" ", "").rstrip('.')

        while True:
            index = value.find('.', value.find('.') + 1)

            if index > -1:
                value = value[0:index] + value[index + 1:]
            else:
                break

        value = filterStringValue(value, '[0-9.><=]')

        if isinstance(value, basestring):
            if value.startswith(">="):
                value = float(value.replace(">=", ""))
            elif value.startswith(">"):
                value = float(value.replace(">", "")) + 0.01
            elif value.startswith("<="):
                value = float(value.replace("<=", ""))
            elif value.startswith(">"):
                value = float(value.replace("<", "")) - 0.01

        retVal = getUnicode(value) >= getUnicode(version)

    return retVal
def isDBMSVersionAtLeast ( version ) : retVal = None if Backend . getVersion ( ) and Backend . getVersion ( ) != UNKNOWN_DBMS_VERSION : value = Backend . getVersion ( ) . replace ( " " , "" ) . rstrip ( '.' ) while True : index = value . find ( '.' , value . find ( '.' ) + 1 ) if index > - 1 : value = value [ 0 : index ] + value [ index + 1 : ] else : break value = filterStringValue ( value , '[0-9.><=]' ) if isinstance ( value , basestring ) : if value . startswith ( ">=" ) : value = float ( value . replace ( ">=" , "" ) ) elif value . startswith ( ">" ) : value = float ( value . replace ( ">" , "" ) ) + 0.01 elif value . startswith ( "<=" ) : value = float ( value . replace ( "<=" , "" ) ) elif value . startswith ( ">" ) : value = float ( value . replace ( "<" , "" ) ) - 0.01 retVal = getUnicode ( value ) >= getUnicode ( version ) return retVal