13 // SQLRequest is inherited from a basic Request object
14 // so that we can neatly pass information around the
22 std::string thisquery;
24 void SetConnID(long id)
34 void SetQueryType(int t)
44 void SetQuery(std::string query)
49 std::string GetQuery()
55 // Upon completion, an SQLRequest returns an SQLResponse.
63 std::map<std::string,std::string> row;
65 void SetRow(std::map<std::string,std::string> r)
70 std::string GetField(std::string field)
72 std::map<std::string,std::string>::iterator iter = row.find(field);
73 if (iter == row.end()) return "";
82 void SetError(std::string err)
92 std::string GetError()
97 void SetCount(unsigned long c)
102 unsigned long GetCount()