GPKGUserCustomColumn
Objective-C
@interface GPKGUserCustomColumn : GPKGUserColumn
Swift
class GPKGUserCustomColumn : GPKGUserColumn
User Custom column
-
Create a new primary key column
Declaration
Objective-C
+ (GPKGUserCustomColumn *)createPrimaryKeyColumnWithName:(NSString *)name;
Swift
class func createPrimaryKeyColumn(withName name: String!) -> GPKGUserCustomColumn!
Parameters
name
name
Return Value
user custom column
-
Create a new primary key column
Declaration
Objective-C
+ (GPKGUserCustomColumn *)createPrimaryKeyColumnWithName:(NSString *)name andAutoincrement:(BOOL)autoincrement;
Swift
class func createPrimaryKeyColumn(withName name: String!, andAutoincrement autoincrement: Bool) -> GPKGUserCustomColumn!
Parameters
name
name
autoincrement
autoincrement flag
Return Value
user custom column
-
Create a new primary key column
Declaration
Objective-C
+ (GPKGUserCustomColumn *)createPrimaryKeyColumnWithIndex:(int)index andName:(NSString *)name;
Swift
class func createPrimaryKeyColumn(with index: Int32, andName name: String!) -> GPKGUserCustomColumn!
Parameters
index
column index
name
column name
Return Value
user custom column
-
Create a new primary key column
Declaration
Objective-C
+ (GPKGUserCustomColumn *)createPrimaryKeyColumnWithIndex:(int)index andName:(NSString *)name andAutoincrement:(BOOL)autoincrement;
Swift
class func createPrimaryKeyColumn(with index: Int32, andName name: String!, andAutoincrement autoincrement: Bool) -> GPKGUserCustomColumn!
Parameters
index
index
name
name
autoincrement
autoincrement flag
Return Value
user custom column
-
Create a new column
Declaration
Objective-C
+ (GPKGUserCustomColumn *)createColumnWithName:(NSString *)name andDataType:(enum GPKGDataType)type;
Swift
class func createColumn(withName name: String!, andDataType type: GPKGDataType) -> GPKGUserCustomColumn!
Parameters
name
name
type
data type
Return Value
user custom column
-
Create a new column
Declaration
Objective-C
+ (GPKGUserCustomColumn *)createColumnWithIndex:(int)index andName:(NSString *)name andDataType:(enum GPKGDataType)type;
Swift
class func createColumn(with index: Int32, andName name: String!, andDataType type: GPKGDataType) -> GPKGUserCustomColumn!
Parameters
index
index
name
name
type
data type
Return Value
user custom column
-
Create a new column
Declaration
Objective-C
+ (GPKGUserCustomColumn *)createColumnWithName:(NSString *)name andDataType:(enum GPKGDataType)type andNotNull:(BOOL)notNull;
Swift
class func createColumn(withName name: String!, andDataType type: GPKGDataType, andNotNull notNull: Bool) -> GPKGUserCustomColumn!
Parameters
name
column name
type
data type
notNull
not null
Return Value
user custom column
-
Create a new column
Declaration
Objective-C
+ (GPKGUserCustomColumn *)createColumnWithIndex:(int)index andName:(NSString *)name andDataType:(enum GPKGDataType)type andNotNull:(BOOL)notNull;
Swift
class func createColumn(with index: Int32, andName name: String!, andDataType type: GPKGDataType, andNotNull notNull: Bool) -> GPKGUserCustomColumn!
Parameters
index
column index
name
column name
type
data type
notNull
not null
Return Value
user custom column
-
Create a new column
Declaration
Objective-C
+ (GPKGUserCustomColumn *)createColumnWithName:(NSString *)name andDataType:(enum GPKGDataType)type andNotNull:(BOOL)notNull andDefaultValue:(NSObject *)defaultValue;
Swift
class func createColumn(withName name: String!, andDataType type: GPKGDataType, andNotNull notNull: Bool, andDefaultValue defaultValue: NSObject!) -> GPKGUserCustomColumn!
Parameters
name
column name
type
data type
notNull
not null
defaultValue
default value or nil
Return Value
user custom column
-
Create a new column
Declaration
Objective-C
+ (GPKGUserCustomColumn *)createColumnWithIndex:(int)index andName:(NSString *)name andDataType:(enum GPKGDataType)type andNotNull:(BOOL)notNull andDefaultValue:(NSObject *)defaultValue;
Swift
class func createColumn(with index: Int32, andName name: String!, andDataType type: GPKGDataType, andNotNull notNull: Bool, andDefaultValue defaultValue: NSObject!) -> GPKGUserCustomColumn!
Parameters
index
column index
name
column name
type
data type
notNull
not null
defaultValue
default value or nil
Return Value
user custom column
-
Create a new column
Declaration
Objective-C
+ (GPKGUserCustomColumn *)createColumnWithName:(NSString *)name andDataType:(enum GPKGDataType)type andMax:(NSNumber *)max;
Swift
class func createColumn(withName name: String!, andDataType type: GPKGDataType, andMax max: NSNumber!) -> GPKGUserCustomColumn!
Parameters
name
column name
type
data type
max
max value
Return Value
user custom column
-
Create a new column
Declaration
Objective-C
+ (GPKGUserCustomColumn *)createColumnWithIndex:(int)index andName:(NSString *)name andDataType:(enum GPKGDataType)type andMax:(NSNumber *)max;
Swift
class func createColumn(with index: Int32, andName name: String!, andDataType type: GPKGDataType, andMax max: NSNumber!) -> GPKGUserCustomColumn!
Parameters
index
column index
name
column name
type
data type
max
max value
Return Value
user custom column
-
Create a new column
Declaration
Objective-C
+ (GPKGUserCustomColumn *)createColumnWithName:(NSString *)name andDataType:(enum GPKGDataType)type andMax:(NSNumber *)max andNotNull:(BOOL)notNull andDefaultValue:(NSObject *)defaultValue;
Swift
class func createColumn(withName name: String!, andDataType type: GPKGDataType, andMax max: NSNumber!, andNotNull notNull: Bool, andDefaultValue defaultValue: NSObject!) -> GPKGUserCustomColumn!
Parameters
name
column name
type
data type
max
max value
notNull
not null
defaultValue
default value or nil
Return Value
user custom column
-
Create a new column
Declaration
Objective-C
+ (GPKGUserCustomColumn *)createColumnWithIndex:(int)index andName:(NSString *)name andDataType:(enum GPKGDataType)type andMax:(NSNumber *)max andNotNull:(BOOL)notNull andDefaultValue:(NSObject *)defaultValue;
Swift
class func createColumn(with index: Int32, andName name: String!, andDataType type: GPKGDataType, andMax max: NSNumber!, andNotNull notNull: Bool, andDefaultValue defaultValue: NSObject!) -> GPKGUserCustomColumn!
Parameters
index
column index
name
column name
type
data type
max
max value
notNull
not null
defaultValue
default value or nil
Return Value
user custom column
-
Create a new column
Declaration
Objective-C
+ (GPKGUserCustomColumn *)createColumnWithTableColumn: (GPKGTableColumn *)tableColumn;
Swift
class func createColumn(with tableColumn: GPKGTableColumn!) -> GPKGUserCustomColumn!
Parameters
tableColumn
table column
Return Value
user custom column