(version)
| 596 | |
| 597 | @staticmethod |
| 598 | def isVersionGreaterOrEqualThan(version): |
| 599 | retVal = False |
| 600 | |
| 601 | if all(_ not in (None, UNKNOWN_DBMS_VERSION) for _ in (Backend.getVersion(), version)): |
| 602 | _version = unArrayizeValue(Backend.getVersion()) |
| 603 | _version = re.sub(r"[<>= ]", "", _version) |
| 604 | |
| 605 | try: |
| 606 | retVal = LooseVersion(_version) >= LooseVersion(version) |
| 607 | except: |
| 608 | retVal = str(_version) >= str(version) |
| 609 | |
| 610 | return retVal |
| 611 | |
| 612 | @staticmethod |
| 613 | def isOs(os): |
no test coverage detected