* 2 [int ]
操作 [""]操作
*/
class Record
{
public:
/*
结果集 */
vector m_rs;
/*
字段信息 占用 4
字节的内存 当记录数很大是回产生性能问题 */
Field *m_field;
public :
Record(){};
Record(Field* m_f);
~Record();
void SetData(string value);
/* [""]
操作 */
string operator[](string s);
string operator[](int num);
/* null
值判断 */
bool IsNull(int num);
bool IsNull(string s);
/*
用 value tab value
的形式 返回结果 */
string GetTabText();
};
/*
* 1 记录集合
* 2 [int ]
操作 [""]操作
* 3 表结构操作
* 4 数据的插入修改
*/
class RecordSet
{
3