GPKGFeatureTileLinkDao
Objective-C
@interface GPKGFeatureTileLinkDao : GPKGBaseDao
Swift
class GPKGFeatureTileLinkDao : GPKGBaseDao
Feature Tile Link Data Access Object
-
Create the DAO
Declaration
Objective-C
+ (GPKGFeatureTileLinkDao *)createWithDatabase:(GPKGConnection *)database;Swift
class func create(withDatabase database: GPKGConnection!) -> GPKGFeatureTileLinkDao!Parameters
databasedatabase connection
Return Value
dao
-
Initialize
Declaration
Objective-C
- (instancetype)initWithDatabase:(GPKGConnection *)database;Swift
init!(database: GPKGConnection!)Parameters
databasedatabase connection
Return Value
new feature tile link dao
-
Query by feature table name and tile table name for a link
Declaration
Objective-C
- (GPKGFeatureTileLink *)queryForFeatureTable:(NSString *)featureTable andTileTable:(NSString *)tileTable;Swift
func query(forFeatureTable featureTable: String!, andTileTable tileTable: String!) -> GPKGFeatureTileLink!Parameters
featureTablefeature table name
tileTabletile table name
Return Value
feature tile link or nil
-
Query by feature table name
Declaration
Objective-C
- (GPKGResultSet *)queryForFeatureTableName:(NSString *)featureTable;Swift
func query(forFeatureTableName featureTable: String!) -> GPKGResultSet!Parameters
featureTablefeature table name
Return Value
result set
-
Query by tile table name
Declaration
Objective-C
- (GPKGResultSet *)queryForTileTableName:(NSString *)tileTable;Swift
func query(forTileTableName tileTable: String!) -> GPKGResultSet!Parameters
tileTabletile table name
Return Value
result set
-
Delete by feature table and tile table names
Declaration
Objective-C
- (int)deleteByFeatureTable:(NSString *)featureTable andTileTable:(NSString *)tileTable;Swift
func delete(byFeatureTable featureTable: String!, andTileTable tileTable: String!) -> Int32Parameters
featureTablefeature table name
tileTabletile table name
Return Value
rows deleted
-
Delete by table name, either feature or tile table name
Declaration
Objective-C
- (int)deleteByTableName:(NSString *)tableName;Swift
func delete(byTableName tableName: String!) -> Int32Parameters
tableNametable name
Return Value
rows deleted
View on GitHub
GPKGFeatureTileLinkDao Class Reference