OHMappingProtocol
@protocol OHMappingProtocol <NSObject>
/// Dictionary that represents class' properties with table' column names.
- (NSDictionary *)mappingDictionary;
/// Table where current entity can be found.
- (NSString *)mySQLTable;
/// Returns name of primary property (row).
- (NSString *)primaryKey;
@end
Undocumented
-
Dictionary that represents class’ properties with table’ column names.
Declaration
Objective-C
- (NSDictionary *)mappingDictionary;
Swift
func mappingDictionary() -> [AnyHashable : Any]!
-
Table where current entity can be found.
Declaration
Objective-C
- (NSString *)mySQLTable;
Swift
func mySQLTable() -> String!
-
Returns name of primary property (row).
Declaration
Objective-C
- (NSString *)primaryKey;
Swift
func primaryKey() -> String!