OHMySQLStore

Objective-C


@interface OHMySQLStore : NSObject

Swift

class MySQLStore : NSObject

An object of this class contains details about a store MySQL.

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithMySQL:(void *_Nonnull const)mysql NS_REFINED_FOR_SWIFT;
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, nullable, readonly) void *mysql
  • Returns a string that represents the MySQL server version; for example, “5.7.14”.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *serverInfo;

    Swift

    var serverInfo: String? { get }
  • Returns a string describing the type of connection in use, including the server host name.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *hostInfo;

    Swift

    var hostInfo: String? { get }
  • An unsigned integer representing the protocol version used by the current connection.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSUInteger protocolInfo;

    Swift

    var protocolInfo: UInt { get }
  • An integer that represents the MySQL server version. For example, “5.7.14” is returned as 50714.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger serverVersion;

    Swift

    var serverVersion: Int { get }
  • A character string describing the server status. nil if an error occurred.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *status;

    Swift

    var status: String? { get }