#include <docudb.hpp>
|
| statement (sqlite3 *db_handle, std::string_view query) |
|
| ~statement () |
|
sqlite3_stmt * | data () const noexcept |
|
statement & | bind (int index, std::int16_t value) |
|
statement & | bind (int index, std::int32_t value) |
|
statement & | bind (int index, std::int64_t value) |
|
statement & | bind (int index, std::nullptr_t value) |
|
statement & | bind (int index, std::string_view value) |
|
statement & | bind (int index, std::double_t value) |
|
statement & | bind (int index, std::float_t value) |
|
statement & | step () noexcept |
|
template<typename T > |
T | get (int index) const |
|
json_type | get_type (int index) const noexcept |
|
bool | is_result_null (int index) const noexcept |
|
int | result_code () const noexcept |
|
template<> |
std::string | get (int index) const |
|
template<> |
std::double_t | get (int index) const |
|
template<> |
std::int64_t | get (int index) const |
|
template<> |
std::int32_t | get (int index) const |
|
template<> |
std::int16_t | get (int index) const |
|
template<> |
std::uint64_t | get (int index) const |
|
template<> |
std::uint32_t | get (int index) const |
|
template<> |
std::uint16_t | get (int index) const |
|
Definition at line 91 of file docudb.hpp.
◆ statement()
docudb::details::sqlite::statement::statement |
( |
sqlite3 * | db_handle, |
|
|
std::string_view | query ) |
◆ ~statement()
docudb::details::sqlite::statement::~statement |
( |
| ) |
|
◆ bind() [1/7]
statement & docudb::details::sqlite::statement::bind |
( |
int | index, |
|
|
std::double_t | value ) |
◆ bind() [2/7]
statement & docudb::details::sqlite::statement::bind |
( |
int | index, |
|
|
std::float_t | value ) |
◆ bind() [3/7]
statement & docudb::details::sqlite::statement::bind |
( |
int | index, |
|
|
std::int16_t | value ) |
◆ bind() [4/7]
statement & docudb::details::sqlite::statement::bind |
( |
int | index, |
|
|
std::int32_t | value ) |
◆ bind() [5/7]
statement & docudb::details::sqlite::statement::bind |
( |
int | index, |
|
|
std::int64_t | value ) |
◆ bind() [6/7]
statement & docudb::details::sqlite::statement::bind |
( |
int | index, |
|
|
std::nullptr_t | value ) |
◆ bind() [7/7]
statement & docudb::details::sqlite::statement::bind |
( |
int | index, |
|
|
std::string_view | value ) |
◆ data()
sqlite3_stmt * docudb::details::sqlite::statement::data |
( |
| ) |
const |
|
noexcept |
◆ get() [1/9]
template<typename T >
T docudb::details::sqlite::statement::get |
( |
int | index | ) |
const |
|
inline |
Definition at line 105 of file docudb.hpp.
106 {
107 static_assert(std::false_type::value, "Unsupported type for get method");
108 }
◆ get() [2/9]
template<>
std::string docudb::details::sqlite::statement::get |
( |
int | index | ) |
const |
◆ get() [3/9]
template<>
std::double_t docudb::details::sqlite::statement::get |
( |
int | index | ) |
const |
◆ get() [4/9]
template<>
std::int64_t docudb::details::sqlite::statement::get |
( |
int | index | ) |
const |
◆ get() [5/9]
template<>
std::int32_t docudb::details::sqlite::statement::get |
( |
int | index | ) |
const |
◆ get() [6/9]
template<>
std::int16_t docudb::details::sqlite::statement::get |
( |
int | index | ) |
const |
◆ get() [7/9]
template<>
std::uint64_t docudb::details::sqlite::statement::get |
( |
int | index | ) |
const |
◆ get() [8/9]
template<>
std::uint32_t docudb::details::sqlite::statement::get |
( |
int | index | ) |
const |
◆ get() [9/9]
template<>
std::uint16_t docudb::details::sqlite::statement::get |
( |
int | index | ) |
const |
◆ get_type()
json_type docudb::details::sqlite::statement::get_type |
( |
int | index | ) |
const |
|
noexcept |
◆ is_result_null()
bool docudb::details::sqlite::statement::is_result_null |
( |
int | index | ) |
const |
|
noexcept |
◆ result_code()
int docudb::details::sqlite::statement::result_code |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 114 of file docudb.hpp.
115 {
116 return rc;
117 }
◆ step()
statement & docudb::details::sqlite::statement::step |
( |
| ) |
|
|
noexcept |
The documentation for this struct was generated from the following file: