updateFetchHistoryPages method
Implementation
Future<int> updateFetchHistoryPages(
String tableName, String pages, int totalRecord, int success) async {
Database db = await instance.database;
var a = 'update FetchHistory set Pages = Pages || "$pages,", '
'TotalRecord = $totalRecord, Success = $success where TableName=?';
return await db.rawUpdate(
'update FetchHistory set Pages = Pages || "$pages,", '
'TotalRecord = $totalRecord, Success = $success where TableName=?',
[tableName]);
}