GetEntriesAsync

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

GetEntriesAsync

Description: the method returns a list of records from the table after executing the query

Syntax: GetEntriesAsync(string sqlQuertSelect)

Return value: List


Example:

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

entries = await testerMySql.GetEntriesAsync("SELECT * FROM test_table");


foreach(List<string> entry in entries)

       foreach(string value in entry)

               tester.ConsoleMsg(value);

Created with the Personal Edition of HelpNDoc: Easily create CHM Help documents