GPKGUserCustomTableReader
Objective-C
@interface GPKGUserCustomTableReader : GPKGUserTableReader
Swift
class GPKGUserCustomTableReader : GPKGUserTableReader
Reads the metadata from an existing user custom table
-
Initialize
Declaration
Objective-C
- (instancetype)initWithTable:(NSString *)tableName;
Swift
init!(table tableName: String!)
Parameters
tableName
table name
Return Value
new user custom table reader
-
Read the user custom table with the database connection
Declaration
Objective-C
- (GPKGUserCustomTable *)readUserCustomTableWithConnection:(GPKGConnection *)db;
Swift
func readUserCustomTable(with db: GPKGConnection!) -> GPKGUserCustomTable!
Parameters
db
database connection
Return Value
user custom table
-
Read the table
Declaration
Objective-C
+ (GPKGUserCustomTable *)readTableWithConnection:(GPKGConnection *)db andTableName:(NSString *)tableName;
Swift
class func readTable(with db: GPKGConnection!, andTableName tableName: String!) -> GPKGUserCustomTable!
Parameters
db
GeoPackage connection
tableName
table name
Return Value
table