GPKGUserCustomDao
Objective-C
@interface GPKGUserCustomDao : GPKGUserDao
Swift
class GPKGUserCustomDao : GPKGUserDao
User Custom DAO for reading user custom data tables
-
Initializer
Declaration
Objective-C
- (instancetype)initWithDatabase:(GPKGConnection *)database andTable:(GPKGUserCustomTable *)table;Swift
init!(database: GPKGConnection!, andTable table: GPKGUserCustomTable!)Parameters
databasedatabase connection
tableuser custom table
Return Value
new user custom dao
-
Initializer
Declaration
Objective-C
- (instancetype)initWithDao:(GPKGUserCustomDao *)dao;Swift
init!(dao: GPKGUserCustomDao!)Parameters
daouser custom dao
Return Value
new user custom dao
-
Initializer
Declaration
Objective-C
- (instancetype)initWithDao:(GPKGUserCustomDao *)dao andTable:(GPKGUserCustomTable *)table;Swift
init!(dao: GPKGUserCustomDao!, andTable table: GPKGUserCustomTable!)Parameters
daouser custom dao
tableuser custom table
Return Value
new user custom dao
-
Get the user custom table
Declaration
Objective-C
- (GPKGUserCustomTable *)userCustomTable;Swift
func userCustomTable() -> GPKGUserCustomTable!Return Value
user custom table
-
Get the user custom row for the current result in the result set
Declaration
Objective-C
- (GPKGUserCustomRow *)row:(GPKGResultSet *)results;Swift
func row(_ results: GPKGResultSet!) -> GPKGUserCustomRow!Parameters
resultsresult set
Return Value
user custom row
-
Get a user custom row from the row
Declaration
Objective-C
- (GPKGUserCustomRow *)rowWithRow:(GPKGRow *)row;Swift
func row(with row: GPKGRow!) -> GPKGUserCustomRow!Parameters
rowresult row
Return Value
user custom row
-
Create a new user custom row
Return Value
user custom row
-
Get the count of the result set and close it
Declaration
Objective-C
- (int)countOfResultSet:(GPKGResultSet *)resultSet;Swift
func count(of resultSet: GPKGResultSet!) -> Int32Parameters
resultSetresult set
Return Value
count
-
Read the database table and create a DAO
Declaration
Objective-C
+ (GPKGUserCustomDao *)readTableWithDatabase:(NSString *)database andConnection:(GPKGConnection *)connection andTable:(NSString *)tableName;Swift
class func readTable(withDatabase database: String!, andConnection connection: GPKGConnection!, andTable tableName: String!) -> GPKGUserCustomDao!Parameters
databasedatabase name
connectiondb connection
tableNametable name
Return Value
user custom DAO
View on GitHub
GPKGUserCustomDao Class Reference