15 // SQLRequest is inherited from a basic Request object
16 // so that we can neatly pass information around the
24 std::string thisquery;
26 SQLRequest(int qt, long cid, std::string query)
28 this->SetQueryType(qt);
30 this->SetQuery(query);
33 void SetConnID(long id)
43 void SetQueryType(int t)
53 void SetQuery(std::string query)
58 std::string GetQuery()
64 // Upon completion, an SQLRequest returns an SQLResponse.
72 std::map<std::string,std::string> row;
74 void SetRow(std::map<std::string,std::string> r)
79 std::string GetField(std::string field)
81 std::map<std::string,std::string>::iterator iter = row.find(field);
82 if (iter == row.end()) return "";
91 void SetError(std::string err)
101 std::string GetError()
106 void SetCount(unsigned long c)
111 unsigned long GetCount()