## Mysql::getRecordCount
###接口说明
>获取SQL语句或存储过程返回的结果集数量.。
>
+++
put:getRecordCount
<<<
success
无返回类型
+++
###代码演示
~~~
var main(var thread,var params)
{
var mysql = new Mysql;
mysql.connect("127.0.0.1",3306,"test","root","123456");
mysql.setSPName("testfunc");
mysql.addParamter(1);
mysql.addParamter("asdasd");
mysql.addParamter(1.5);
mysql.executeCommand();
mysql.queryRecord([](var record){
println(record["id"]);
println(record["name"]);
println(record["age"]);
});
//打印返回的数量
println(mysql.getRecordCount());
}
~~~
- base函数库
- md5
- sha1
- LOG
- jsonencode
- jsondecode
- postMsgToThread
- base64_encode
- base64_decode
- urlencode
- urldecode
- U2G
- G2U
- parseurl
- parseurlparam
- HttpServer
- init
- handleFunc
- setPort
- setMaxSocketCount
- send
- startService
- stopService
- redirect
- getaddress_ipv4
- Server
- init
- startService
- stopService
- setPort
- setMaxSocketCount
- bind
- send
- setUseHead
- setMaxPacketCount
- closesocket
- Client
- init
- connect
- send
- bind
- closesocket
- Thread
- setScriptFile
- setScriptParam
- startThread
- stopThread
- getThreadID
- Mysql
- connect
- execute
- setSPName
- executeCommand
- addParamter
- queryRecord
- getRecordCount
- HttpHelper
- doGet
- doPost
- addHeader
- getHeaderData
- setProxy
- setCookie
- EmailHelper
- config
- addText
- addTitle
- addFile
- send
- Downloader
- setUrl
- setFilePath
- download
- close