From 5de3e0c2954ad4051e5b794453015457b7f0b459 Mon Sep 17 00:00:00 2001 From: kiritow <1362050620@qq.com> Date: Sun, 19 Nov 2017 15:32:27 +0800 Subject: [PATCH] Add some comments --- MySQLWrapper.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MySQLWrapper.h b/MySQLWrapper.h index ccf8944..93522aa 100644 --- a/MySQLWrapper.h +++ b/MySQLWrapper.h @@ -8,11 +8,13 @@ public: MySQLResult(); ~MySQLResult(); - /// 获取数据表的表头数量和结果行数 + /// 获取结果表的列数量 unsigned int getNumFields(); + + /// 获取结果表的行数量 uint64_t getNumRows(); - /// 获取数据表的表头名称 + /// 获取结果表的列名称 char* getFieldName(int Index); /// 对于每行数据执行func