11 #include <drift/dslcore.h>
12 #include <drift/DB_Common.h>
22 void SC_Row::Reset() {
27 string SC_Row::Get(
const string& fieldname,
const string& sDefault)
const {
28 auto x = Values.find(fieldname);
29 if (x != Values.end()) {
35 SQLConxMulti::~SQLConxMulti() {
39 void SQLConxMulti::Query(
const string& query) {
40 queries.push_back(query +
";");
43 size_t SQLConxMulti::Count() {
44 return queries.size();
47 void SQLConx::SetOutput(sql_printf_type pprintf) {
48 sql_printf = (pprintf != NULL) ? pprintf : printf;