23 #include "pedigree/native/compiler.h" 24 #include "pedigree/native/types.h" 32 Result(
size_t nResultIdx) : m_nResultIdx(nResultIdx)
40 std::string errorMessage(
size_t buffSz = 256);
48 std::string getColumnName(
size_t col,
size_t buffSz = 256);
51 std::string getStr(
size_t row,
size_t col,
size_t buffSz = 256);
53 size_t getNum(
size_t row,
size_t col);
55 bool getBool(
size_t row,
size_t col);
58 std::string getStr(
size_t row,
const char *col,
size_t buffSz = 256);
60 size_t getNum(
size_t row,
const char *col);
62 bool getBool(
size_t row,
const char *col);
Result * query(const char *sql)