GPKGUserRelatedTable

Objective-C

@interface GPKGUserRelatedTable : GPKGUserCustomTable

Swift

class GPKGUserRelatedTable : GPKGUserCustomTable

User Defined Related Table

  • Initializer

    Declaration

    Objective-C

    - (instancetype)initWithTable:(NSString *)tableName
                      andRelation:(NSString *)relationName
                      andDataType:(NSString *)dataType
                       andColumns:(NSArray<GPKGUserCustomColumn *> *)columns;

    Swift

    init!(table tableName: String!, andRelation relationName: String!, andDataType dataType: String!, andColumns columns: [GPKGUserCustomColumn]!)

    Parameters

    tableName

    table name

    relationName

    relation name

    dataType

    contents data type

    columns

    columns

    Return Value

    new user related table

  • Initializer

    Declaration

    Objective-C

    - (instancetype)initWithTable:(NSString *)tableName
                      andRelation:(NSString *)relationName
                      andDataType:(NSString *)dataType
                       andColumns:(NSArray<GPKGUserCustomColumn *> *)columns
               andRequiredColumns:(NSArray<NSString *> *)requiredColumns;

    Swift

    init!(table tableName: String!, andRelation relationName: String!, andDataType dataType: String!, andColumns columns: [GPKGUserCustomColumn]!, andRequiredColumns requiredColumns: [String]!)

    Parameters

    tableName

    table name

    relationName

    relation name

    dataType

    contents data type

    columns

    columns

    requiredColumns

    required columns

    Return Value

    new user related table

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithRelation:(NSString *)relationName
                         andDataType:(NSString *)dataType
                      andCustomTable:(GPKGUserCustomTable *)userCustomTable;

    Swift

    init!(relation relationName: String!, andDataType dataType: String!, andCustomTable userCustomTable: GPKGUserCustomTable!)

    Parameters

    relationName

    relation name

    dataType

    contents data type

    userCustomTable

    user custom table

    Return Value

    new user related table

  • Get the relation name

    Declaration

    Objective-C

    - (NSString *)relationName;

    Swift

    func relationName() -> String!

    Return Value

    relation name