Instance Method
isNewer(than:)
Check whether the current version (i.e.
self) is newer than the one given.func isNewer(than otherVersion: any SQLDatabaseReportedVersion) -> Bool
Parameters
otherVersionThe version to compare against.
type(of: self)must be the same astype(of: otherVersion).
Return Value
true if otherVersion is equal to or less than self, otherwise false.
Discussion
Warning
This method has been deprecated; use the > operator instead.