费了点时间才搞清楚原来取得记录条数跟mysql有些不同。记录在此以备以后使用:
sqlStmt.text="select count(*) from "+ table.tableName;
sqlStmt.execute();
var totalRecords:Number=sqlStmt.getResult().data[0]["count(*)"];
sqlStmt.execute();
var totalRecords:Number=sqlStmt.getResult().data[0]["count(*)"];
天地会
Leave a Reply
You must be logged in to post a comment.