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