32 #include <boost/variant.hpp>
52 return sqlite3_bind_int64(
stmt_,
idx_++, i);
60 return sqlite3_bind_blob64(
stmt_,
idx_++,
s.data(),
s.size(), SQLITE_STATIC);
82 nullptr,
nullptr,
nullptr,
nullptr) == SQLITE_OK;
86 std::ostringstream query_builder;
89 if (sqlite3_exec(
db_, query_builder.str().c_str(),
nullptr,
nullptr,
nullptr) != SQLITE_OK)
120 throw std::runtime_error(
"not implemented");
131 template <
typename R,
typename T>
136 throw boost::bad_get();
140 template <
typename R>
141 struct NullValueGet<R, typename
std::enable_if<!std::is_same<R, NullValue>::value, R>::type>
145 return std::forward<R>(r);
149 template <
typename R>
160 template <
typename R>
163 template <
typename T>