GPKGContentsIdDao
Objective-C
@interface GPKGContentsIdDao : GPKGBaseDao
Swift
class GPKGContentsIdDao : GPKGBaseDao
Contents Id Data Access Object
-
Create the DAO
Declaration
Objective-C
+ (GPKGContentsIdDao *)createWithDatabase:(GPKGConnection *)database;Swift
class func create(withDatabase database: GPKGConnection!) -> GPKGContentsIdDao!Parameters
databasedatabase connection
Return Value
dao
-
Initialize
Declaration
Objective-C
- (instancetype)initWithDatabase:(GPKGConnection *)database;Swift
init!(database: GPKGConnection!)Parameters
databasedatabase connection
Return Value
new contents id dao
-
Get the contents id for the current result in the result set
Declaration
Objective-C
- (GPKGContentsId *)contentsId:(GPKGResultSet *)results;Swift
func contentsId(_ results: GPKGResultSet!) -> GPKGContentsId!Parameters
resultsresult set
Return Value
contents id
-
Query for and set the contents in the contents id
Declaration
Objective-C
- (void)setContents:(GPKGContentsId *)contentsId;Swift
func setContents(_ contentsId: GPKGContentsId!)Parameters
contentsIdcontents id
-
Query for the contents for the contents id
Declaration
Objective-C
- (GPKGContents *)contents:(GPKGContentsId *)contentsId;Swift
func contents(_ contentsId: GPKGContentsId!) -> GPKGContents!Parameters
contentsIdcontents id
Return Value
contents
-
Query by table name
Declaration
Objective-C
- (GPKGContentsId *)queryForTableName:(NSString *)tableName;Swift
func query(forTableName tableName: String!) -> GPKGContentsId!Parameters
tableNametable name
Return Value
contents id
-
Delete by 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
GPKGContentsIdDao Class Reference