Swift + MySQL = ❤️
MYSQL_OPT_READ_TIMEOUT
) and read (MYSQL_OPT_READ_TIMEOUT
) timeouts.Example:
let configuration = MySQLConfiguration(...)
configuration.writeTimeout = 15
configuration.readTimeout = 5
Note: Consider to set a session timeout for read-only queries, see MAX_EXECUTION_TIME
.
OH
@synchronized
(mutex) is being used where it's applicable.
Note: Code should be thread safe, so consider running queries asynchronously and not in main thread.
jazzy
documentationOHMySQLUser
(obsolete) is OHMySQLConfiguration
(new)OHMappingProtocol
(obsolete) is OHMySQLMappingProtocol
(new)🎉
mysqlclient
library to the latest version 8.0.27
xcframework
Note: minimum supported versions are iOS 14.0
and macOS 11.0
.
Improve mapping of BLOB types.
NOTE: TEXT
type is treated as BLOB
. Therefore, it is mapped to NSData
. Please, consider it in your code.
This release includes minor fix to establish SSL connection. Check out the documentation.