GetCountEntriesAsync

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

GetCountEntriesAsync

Description: the method returns the number of records in the table after executing the query

Syntax: GetCountEntriesAsync(string sqlQuertSelect)

Return value: int


Example:

int count = await testerMySql.GetCountEntriesAsync("SELECT * FROM test_table");

Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source