Classes | |
struct | bind_parameters |
struct | bind_parameters< TUP, 1 > |
class | DefaultDatabaseOpenPolicy |
Functions | |
template<typename T , typename... Constraints> | |
std::string | column_info (column< T, Constraints... > const &col) |
template<typename H , typename... T> | |
std::string | columns (H const &h, T const &...t) |
std::string | create_table (std::string const &tablename) |
template<typename... Cols> | |
std::string | create_table_ddl (std::string const &tablename, Cols const &...cols) |
std::string | create_table_as_ddl (std::string const &tablename, SelectStmt const &stmt) |
void | bind_one_parameter (sqlite3_stmt *s, std::size_t const idx, double const v) |
void | bind_one_parameter (sqlite3_stmt *s, std::size_t const idx, int const v) |
void | bind_one_parameter (sqlite3_stmt *s, std::size_t const idx, std::uint32_t const v) |
void | bind_one_parameter (sqlite3_stmt *s, std::size_t const idx, sqlite_int64 const v) |
void | bind_one_parameter (sqlite3_stmt *s, std::size_t const idx, std::string const &v) |
void | bind_one_null (sqlite3_stmt *s, std::size_t const idx) |
template<typename T > | |
auto | convertTo (std::string const &arg) |
template<> | |
auto | convertTo< int > (std::string const &arg) |
template<> | |
auto | convertTo< long > (std::string const &arg) |
template<> | |
auto | convertTo< long long > (std::string const &arg) |
template<> | |
auto | convertTo< unsigned > (std::string const &arg) |
template<> | |
auto | convertTo< unsigned long > (std::string const &arg) |
template<> | |
auto | convertTo< unsigned long long > (std::string const &arg) |
template<> | |
auto | convertTo< float > (std::string const &arg) |
template<> | |
auto | convertTo< double > (std::string const &arg) |
template<> | |
auto | convertTo< long double > (std::string const &arg) |
template<std::size_t I, typename Tuple > | |
std::enable_if_t<(I==std::tuple_size_v< Tuple >)> | fillData (Tuple &, int const ncols[[maybe_unused]], int const currentcol[[maybe_unused]], char **) |
template<std::size_t I, typename Tuple > | |
std::enable_if_t<(I< std::tuple_size_v< Tuple >)> | fillData (Tuple &data, int const ncols, int currentcol, char **results) |
template<typename... Args> | |
int | get_result (void *data, int ncols, char **results, char **cnames) |
void | normalize_statement (std::string &to_replace) |
std::string | normalized_statement (std::string to_replace) |
std::string | maybe_quote (std::string const &s) |
std::string | maybe_quote (char const *s) |
template<typename T > | |
T | maybe_quote (T const &t) |
void | values_str_impl (std::ostream &) |
template<typename H , typename... T> | |
void | values_str_impl (std::ostream &os, H const &h, T const &...t) |
template<typename... Args> | |
std::string | values_str (Args const &...args) |
template<typename H , typename... T> | |
std::string | concatenate (H const &h, T const &...t) |
void cet::sqlite::detail::bind_one_null | ( | sqlite3_stmt * | s, |
std::size_t const | idx | ||
) |
Definition at line 69 of file bind_parameters.cc.
void cet::sqlite::detail::bind_one_parameter | ( | sqlite3_stmt * | s, |
std::size_t const | idx, | ||
double const | v | ||
) |
Definition at line 19 of file bind_parameters.cc.
void cet::sqlite::detail::bind_one_parameter | ( | sqlite3_stmt * | s, |
std::size_t const | idx, | ||
int const | v | ||
) |
Definition at line 29 of file bind_parameters.cc.
void cet::sqlite::detail::bind_one_parameter | ( | sqlite3_stmt * | s, |
std::size_t const | idx, | ||
std::uint32_t const | v | ||
) |
Definition at line 39 of file bind_parameters.cc.
void cet::sqlite::detail::bind_one_parameter | ( | sqlite3_stmt * | s, |
std::size_t const | idx, | ||
sqlite_int64 const | v | ||
) |
Definition at line 49 of file bind_parameters.cc.
void cet::sqlite::detail::bind_one_parameter | ( | sqlite3_stmt * | s, |
std::size_t const | idx, | ||
std::string const & | v | ||
) |
Definition at line 59 of file bind_parameters.cc.
std::string cet::sqlite::detail::column_info | ( | column< T, Constraints... > const & | col | ) |
Definition at line 74 of file create_table.h.
|
inline |
Definition at line 83 of file create_table.h.
std::string cet::sqlite::detail::concatenate | ( | H const & | h, |
T const &... | t | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 89 of file create_table.h.
|
inline |
Definition at line 106 of file create_table.h.
std::string cet::sqlite::detail::create_table_ddl | ( | std::string const & | tablename, |
Cols const &... | cols | ||
) |
Definition at line 96 of file create_table.h.
std::enable_if_t<(I == std::tuple_size_v<Tuple>)> cet::sqlite::detail::fillData | ( | Tuple & | , |
int const ncols] | [[maybe_unused], | ||
int const currentcol] | [[maybe_unused], | ||
char ** | |||
) |
Definition at line 14 of file get_result.h.
std::enable_if_t<(I < std::tuple_size_v<Tuple>)> cet::sqlite::detail::fillData | ( | Tuple & | data, |
int const | ncols, | ||
int | currentcol, | ||
char ** | results | ||
) |
Definition at line 24 of file get_result.h.
int cet::sqlite::detail::get_result | ( | void * | data, |
int | ncols, | ||
char ** | results, | ||
char ** | cnames | ||
) |
Definition at line 34 of file get_result.h.
|
inline |
|
inline |
T cet::sqlite::detail::maybe_quote | ( | T const & | t | ) |
void cet::sqlite::detail::normalize_statement | ( | std::string & | to_replace | ) |
Definition at line 6 of file normalize_statement.cc.
std::string cet::sqlite::detail::normalized_statement | ( | std::string | to_replace | ) |
Definition at line 25 of file normalize_statement.cc.
std::string cet::sqlite::detail::values_str | ( | Args const &... | args | ) |
Definition at line 82 of file insert.h.
|
inline |
void cet::sqlite::detail::values_str_impl | ( | std::ostream & | os, |
H const & | h, | ||
T const &... | t | ||
) |
Definition at line 71 of file insert.h.