GetEntriesFromTableAsync

English version ›› Plugins ›› HatPluginMySql ›› Class: TesterMySql ›› Methods ››
Parent Previous Next

GetEntriesFromTableAsync

Description: the method returns a list of records from the specified database table

Syntax: GetEntriesFromTableAsync(string tableName)

Return value: List


Example:

List<List<string>> entries = new List<List<string>>();

entries = await testerMySql.GetEntriesFromTableAsync("test_table");


foreach(List<string> entry in entries)

       foreach(string value in entry)

               tester.ConsoleMsg(value);

Created with the Personal Edition of HelpNDoc: Create iPhone web-based documentation