GPKGMediaTableMetadata
Objective-C
@interface GPKGMediaTableMetadata : GPKGUserTableMetadata
Swift
class GPKGMediaTableMetadata : GPKGUserTableMetadata
Media Table Metadata for defining table creation information
-
Create metadata
Declaration
Objective-C
+ (GPKGMediaTableMetadata *)create;
Swift
class func create() -> GPKGMediaTableMetadata!
Return Value
metadata
-
Create metadata
Declaration
Objective-C
+ (GPKGMediaTableMetadata *)createWithTable:(NSString *)tableName;
Swift
class func create(withTable tableName: String!) -> GPKGMediaTableMetadata!
Parameters
tableName
table name
Return Value
metadata
-
Create metadata
Declaration
Objective-C
+ (GPKGMediaTableMetadata *)createWithTable:(NSString *)tableName andAutoincrement:(BOOL)autoincrement;
Swift
class func create(withTable tableName: String!, andAutoincrement autoincrement: Bool) -> GPKGMediaTableMetadata!
Parameters
tableName
table name
autoincrement
autoincrement ids
Return Value
metadata
-
Create metadata
Declaration
Objective-C
+ (GPKGMediaTableMetadata *)createWithTable:(NSString *)tableName andAdditionalColumns: (NSArray<GPKGUserCustomColumn *> *)additionalColumns;
Swift
class func create(withTable tableName: String!, andAdditionalColumns additionalColumns: [GPKGUserCustomColumn]!) -> GPKGMediaTableMetadata!
Parameters
tableName
table name
additionalColumns
additional columns
Return Value
metadata
-
Create metadata
Declaration
Objective-C
+ (GPKGMediaTableMetadata *)createWithTable:(NSString *)tableName andAutoincrement:(BOOL)autoincrement andAdditionalColumns: (NSArray<GPKGUserCustomColumn *> *)additionalColumns;
Swift
class func create(withTable tableName: String!, andAutoincrement autoincrement: Bool, andAdditionalColumns additionalColumns: [GPKGUserCustomColumn]!) -> GPKGMediaTableMetadata!
Parameters
tableName
table name
autoincrement
autoincrement ids
additionalColumns
additional columns
Return Value
metadata
-
Create metadata
Declaration
Objective-C
+ (GPKGMediaTableMetadata *)createWithTable:(NSString *)tableName andIdColumnName:(NSString *)idColumnName;
Swift
class func create(withTable tableName: String!, andIdColumnName idColumnName: String!) -> GPKGMediaTableMetadata!
Parameters
tableName
table name
idColumnName
id column name
Return Value
metadata
-
Create metadata
Declaration
Objective-C
+ (GPKGMediaTableMetadata *)createWithTable:(NSString *)tableName andIdColumnName:(NSString *)idColumnName andAutoincrement:(BOOL)autoincrement;
Swift
class func create(withTable tableName: String!, andIdColumnName idColumnName: String!, andAutoincrement autoincrement: Bool) -> GPKGMediaTableMetadata!
Parameters
tableName
table name
idColumnName
id column name
autoincrement
autoincrement ids
Return Value
metadata
-
Create metadata
Declaration
Objective-C
+ (GPKGMediaTableMetadata *)createWithTable:(NSString *)tableName andIdColumnName:(NSString *)idColumnName andAdditionalColumns: (NSArray<GPKGUserCustomColumn *> *)additionalColumns;
Swift
class func create(withTable tableName: String!, andIdColumnName idColumnName: String!, andAdditionalColumns additionalColumns: [GPKGUserCustomColumn]!) -> GPKGMediaTableMetadata!
Parameters
tableName
table name
idColumnName
id column name
additionalColumns
additional columns
Return Value
metadata
-
Create metadata
Declaration
Objective-C
+ (GPKGMediaTableMetadata *)createWithTable:(NSString *)tableName andIdColumnName:(NSString *)idColumnName andAutoincrement:(BOOL)autoincrement andAdditionalColumns: (NSArray<GPKGUserCustomColumn *> *)additionalColumns;
Swift
class func create(withTable tableName: String!, andIdColumnName idColumnName: String!, andAutoincrement autoincrement: Bool, andAdditionalColumns additionalColumns: [GPKGUserCustomColumn]!) -> GPKGMediaTableMetadata!
Parameters
tableName
table name
idColumnName
id column name
autoincrement
autoincrement ids
additionalColumns
additional columns
Return Value
metadata
-
Initialize
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
-
Constructor
Declaration
Objective-C
- (instancetype)initWithTable:(NSString *)tableName andIdColumnName:(NSString *)idColumnName andAdditionalColumns: (NSArray<GPKGUserCustomColumn *> *)additionalColumns;
Swift
init!(table tableName: String!, andIdColumnName idColumnName: String!, andAdditionalColumns additionalColumns: [GPKGUserCustomColumn]!)
Parameters
tableName
table name
idColumnName
id column name
additionalColumns
additional columns
-
Constructor
Declaration
Objective-C
- (instancetype)initWithTable:(NSString *)tableName andIdColumnName:(NSString *)idColumnName andAutoincrement:(BOOL)autoincrement andAdditionalColumns: (NSArray<GPKGUserCustomColumn *> *)additionalColumns;
Swift
init!(table tableName: String!, andIdColumnName idColumnName: String!, andAutoincrement autoincrement: Bool, andAdditionalColumns additionalColumns: [GPKGUserCustomColumn]!)
Parameters
tableName
table name
idColumnName
id column name
autoincrement
autoincrement ids
additionalColumns
additional columns