Prepared statement for SQLite.
More...
#include <preparedSTMT.hxx>
|
| PreparedSTMT (const PreparedSTMT &)=delete |
|
| PreparedSTMT (PreparedSTMT &&) noexcept=default |
|
PreparedSTMT & | operator= (const PreparedSTMT &)=delete |
|
PreparedSTMT & | operator= (PreparedSTMT &&) noexcept=default |
|
| ~PreparedSTMT () noexcept override |
|
PreparedSTMT & | Bind (const int &index, const std::nullptr_t &value) noexcept override |
|
PreparedSTMT & | Bind (const int &index, const int &value) noexcept override |
|
PreparedSTMT & | Bind (const int &index, const unsigned int &value) noexcept override |
|
PreparedSTMT & | Bind (const int &index, const int64_t &value) noexcept override |
|
PreparedSTMT & | Bind (const int &index, const uint64_t &value) noexcept override |
|
PreparedSTMT & | Bind (const int &index, const double &value) noexcept override |
|
PreparedSTMT & | Bind (const int &index, bool value) noexcept override |
|
PreparedSTMT & | Bind (const int &index, const std::string &value) noexcept override |
|
void | Reset () noexcept override |
|
const Row & | Step () noexcept override |
|
constexpr | PreparedSTMT (const std::string &name, const std::string &query) |
|
constexpr | PreparedSTMT (std::string &&name, std::string &&query) |
|
| PreparedSTMT (const PreparedSTMT &)=delete |
|
constexpr | PreparedSTMT (PreparedSTMT &&)=default |
|
PreparedSTMT & | operator= (const PreparedSTMT &)=delete |
|
constexpr PreparedSTMT & | operator= (PreparedSTMT &&)=default |
|
constexpr const std::string & | GetName () const noexcept |
|
constexpr const std::string & | GetQuery () const noexcept |
|
|
std::string | m_name |
| Name of the prepared statement.
|
|
std::string | m_query |
| Query to prepare.
|
|
std::unique_ptr< Row > | m_row |
| Last result row of the prepared statement.
|
|
Prepared statement for SQLite.
◆ PreparedSTMT() [1/2]
StormByte::Database::SQLite::PreparedSTMT::PreparedSTMT |
( |
const PreparedSTMT & |
| ) |
|
|
delete |
◆ PreparedSTMT() [2/2]
StormByte::Database::SQLite::PreparedSTMT::PreparedSTMT |
( |
PreparedSTMT && |
| ) |
|
|
defaultnoexcept |
◆ ~PreparedSTMT()
StormByte::Database::SQLite::PreparedSTMT::~PreparedSTMT |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ Bind() [1/8]
PreparedSTMT & StormByte::Database::SQLite::PreparedSTMT::Bind |
( |
const int & |
index, |
|
|
bool |
value |
|
) |
| |
|
overridevirtualnoexcept |
◆ Bind() [2/8]
PreparedSTMT & StormByte::Database::SQLite::PreparedSTMT::Bind |
( |
const int & |
index, |
|
|
const double & |
value |
|
) |
| |
|
overridevirtualnoexcept |
◆ Bind() [3/8]
PreparedSTMT & StormByte::Database::SQLite::PreparedSTMT::Bind |
( |
const int & |
index, |
|
|
const int & |
value |
|
) |
| |
|
overridevirtualnoexcept |
◆ Bind() [4/8]
PreparedSTMT & StormByte::Database::SQLite::PreparedSTMT::Bind |
( |
const int & |
index, |
|
|
const int64_t & |
value |
|
) |
| |
|
overridevirtualnoexcept |
◆ Bind() [5/8]
PreparedSTMT & StormByte::Database::SQLite::PreparedSTMT::Bind |
( |
const int & |
index, |
|
|
const std::nullptr_t & |
value |
|
) |
| |
|
overridevirtualnoexcept |
◆ Bind() [6/8]
PreparedSTMT & StormByte::Database::SQLite::PreparedSTMT::Bind |
( |
const int & |
index, |
|
|
const std::string & |
value |
|
) |
| |
|
overridevirtualnoexcept |
◆ Bind() [7/8]
PreparedSTMT & StormByte::Database::SQLite::PreparedSTMT::Bind |
( |
const int & |
index, |
|
|
const uint64_t & |
value |
|
) |
| |
|
overridevirtualnoexcept |
◆ Bind() [8/8]
PreparedSTMT & StormByte::Database::SQLite::PreparedSTMT::Bind |
( |
const int & |
index, |
|
|
const unsigned int & |
value |
|
) |
| |
|
overridevirtualnoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Reset()
void StormByte::Database::SQLite::PreparedSTMT::Reset |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ Step()
const Row & StormByte::Database::SQLite::PreparedSTMT::Step |
( |
| ) |
|
|
overridevirtualnoexcept |
The documentation for this class was generated from the following file:
- /home/runner/work/StormByte-Database/StormByte-Database/lib/optional/StormByte/database/sqlite/preparedSTMT.hxx