First part:
I have a dataController with UIAPP that can make simple database operations that are mentioned in datacontroller doc. However I need to access data table row count, I'm inserting data with AUTO_INCREMENT KEY. So I want to access all elements and dump table when done. In mysql server I can SELECT COUNT(*)
FROM dbo.bigTransactionHistory;
to access rows count. But I do not see how to do that with datacontroller provider.
So how can I get row counts of a table from database?
SECOND PART : And is there a way to execute any sqlite command with datacontroller provider? For example can we do this?
char* sql_command = "any command";
ret = sqlite3_exec(db, sql_command, NULL, NULL, NULL);
How can we access any function from data controller provider service to the UIAPP?
I'm asking second part because data_control_provider_sql_cb
has limited number of execution functions.