#include <sqlite3x.hpp>
Public Member Functions | |
| sqlite3_command (sqlite3_connection &con, const char *sql) | |
| sqlite3_command (sqlite3_connection &con, const wchar_t *sql) | |
| sqlite3_command (sqlite3_connection &con, const std::string &sql) | |
| sqlite3_command (sqlite3_connection &con, const std::wstring &sql) | |
| ~sqlite3_command () | |
| void | bind (int index) |
| void | bind (int index, int data) |
| void | bind (int index, long long data) |
| void | bind (int index, double data) |
| void | bind (int index, const char *data, int datalen) |
| void | bind (int index, const wchar_t *data, int datalen) |
| void | bind (int index, const void *data, int datalen) |
| void | bind (int index, const std::string &data) |
| void | bind (int index, const std::wstring &data) |
| void | bind (const std::string ¶m) |
| void | bind (const std::string ¶m, int data) |
| void | bind (const std::string ¶m, long long data) |
| void | bind (const std::string ¶m, double data) |
| void | bind (const std::string ¶m, const char *data, int datalen) |
| void | bind (const std::string ¶m, const wchar_t *data, int datalen) |
| void | bind (const std::string ¶m, const void *data, int datalen) |
| void | bind (const std::string ¶m, const std::string &data) |
| void | bind (const std::string ¶m, const std::wstring &data) |
| sqlite3_reader | executereader () |
| void | executenonquery () |
| int | executeint () |
| long long | executeint64 () |
| double | executedouble () |
| std::string | executestring () |
| std::wstring | executestring16 () |
| std::string | executeblob () |
Private Attributes | |
| sqlite3_connection & | con |
| struct sqlite3_stmt * | stmt |
| unsigned int | refs |
| int | argc |
Friends | |
| class | sqlite3_reader |
Definition at line 167 of file sqlite3x.hpp.
| sqlite3x::sqlite3_command::sqlite3_command | ( | sqlite3_connection & | con, | |
| const char * | sql | |||
| ) |
Definition at line 32 of file sqlite3x_command.cpp.
References argc, sqlite3x::sqlite3_connection::db, and SQLITE3X_THROW.
| sqlite3x::sqlite3_command::sqlite3_command | ( | sqlite3_connection & | con, | |
| const wchar_t * | sql | |||
| ) |
Definition at line 41 of file sqlite3x_command.cpp.
References argc, sqlite3x::sqlite3_connection::db, and SQLITE3X_THROW.
| sqlite3x::sqlite3_command::sqlite3_command | ( | sqlite3_connection & | con, | |
| const std::string & | sql | |||
| ) |
Definition at line 51 of file sqlite3x_command.cpp.
References argc, sqlite3x::sqlite3_connection::db, SQLITE3X_THROW, and stmt.
| sqlite3x::sqlite3_command::sqlite3_command | ( | sqlite3_connection & | con, | |
| const std::wstring & | sql | |||
| ) |
Definition at line 60 of file sqlite3x_command.cpp.
References argc, sqlite3x::sqlite3_connection::db, SQLITE3X_THROW, and stmt.
| sqlite3x::sqlite3_command::~sqlite3_command | ( | ) |
Definition at line 70 of file sqlite3x_command.cpp.
| void sqlite3x::sqlite3_command::bind | ( | int | index | ) |
Definition at line 75 of file sqlite3x_command.cpp.
References SQLITE3X_THROW.
Referenced by zypp::cache::CacheStore::cleanRepository(), zypp::repo::cached::RepoImpl::createPatchAndDeltas(), zypp::repo::cached::RepoImpl::createResolvables(), zypp::cache::CacheInitializer::createTables(), zypp::cache::ResolvableQuery::Impl::query(), zypp::cache::ResolvableQuery::Impl::queryRepositoryAlias(), zypp::cache::ResolvableQuery::Impl::queryRepositoryId(), and zypp::cache::CacheStore::repositoryStatus().
| void sqlite3x::sqlite3_command::bind | ( | int | index, | |
| int | data | |||
| ) |
| void sqlite3x::sqlite3_command::bind | ( | int | index, | |
| long long | data | |||
| ) |
| void sqlite3x::sqlite3_command::bind | ( | int | index, | |
| double | data | |||
| ) |
| void sqlite3x::sqlite3_command::bind | ( | int | index, | |
| const char * | data, | |||
| int | datalen | |||
| ) |
| void sqlite3x::sqlite3_command::bind | ( | int | index, | |
| const wchar_t * | data, | |||
| int | datalen | |||
| ) |
| void sqlite3x::sqlite3_command::bind | ( | int | index, | |
| const void * | data, | |||
| int | datalen | |||
| ) |
| void sqlite3x::sqlite3_command::bind | ( | int | index, | |
| const std::string & | data | |||
| ) |
| void sqlite3x::sqlite3_command::bind | ( | int | index, | |
| const std::wstring & | data | |||
| ) |
| void sqlite3x::sqlite3_command::bind | ( | const std::string & | param | ) |
| void sqlite3x::sqlite3_command::bind | ( | const std::string & | param, | |
| int | data | |||
| ) |
| void sqlite3x::sqlite3_command::bind | ( | const std::string & | param, | |
| long long | data | |||
| ) |
| void sqlite3x::sqlite3_command::bind | ( | const std::string & | param, | |
| double | data | |||
| ) |
| void sqlite3x::sqlite3_command::bind | ( | const std::string & | param, | |
| const char * | data, | |||
| int | datalen | |||
| ) |
| void sqlite3x::sqlite3_command::bind | ( | const std::string & | param, | |
| const wchar_t * | data, | |||
| int | datalen | |||
| ) |
| void sqlite3x::sqlite3_command::bind | ( | const std::string & | param, | |
| const void * | data, | |||
| int | datalen | |||
| ) |
| void sqlite3x::sqlite3_command::bind | ( | const std::string & | param, | |
| const std::string & | data | |||
| ) |
| void sqlite3x::sqlite3_command::bind | ( | const std::string & | param, | |
| const std::wstring & | data | |||
| ) |
| sqlite3_reader sqlite3x::sqlite3_command::executereader | ( | ) |
Definition at line 187 of file sqlite3x_command.cpp.
References sqlite3_reader.
Referenced by zypp::cache::CacheInitializer::CacheInitializer(), zypp::repo::cached::RepoImpl::createPatchAndDeltas(), zypp::repo::cached::RepoImpl::createResolvables(), executeblob(), executedouble(), executeint(), executeint64(), executenonquery(), executestring(), executestring16(), zypp::cache::ResolvableQuery::Impl::iterateResolvablesByKindsAndStringsAndRepos(), zypp::cache::ResolvableQuery::Impl::query(), zypp::cache::ResolvableQuery::Impl::queryRepositoryAlias(), zypp::cache::ResolvableQuery::Impl::queryRepositoryId(), zypp::cache::CacheTypes::refreshCache(), zypp::cache::CacheStore::repositoryStatus(), and zypp::cache::CacheFSCK::Impl::start().
| void sqlite3x::sqlite3_command::executenonquery | ( | ) |
Definition at line 192 of file sqlite3x_command.cpp.
References executereader(), and sqlite3x::sqlite3_reader::read().
Referenced by zypp::cache::CacheStore::cleanRepository(), and zypp::cache::CacheInitializer::createTables().
| int sqlite3x::sqlite3_command::executeint | ( | ) |
Definition at line 197 of file sqlite3x_command.cpp.
References executereader(), sqlite3x::sqlite3_reader::getint(), sqlite3x::sqlite3_reader::read(), and SQLITE3X_THROW.
| long long sqlite3x::sqlite3_command::executeint64 | ( | ) |
Definition at line 204 of file sqlite3x_command.cpp.
References executereader(), sqlite3x::sqlite3_reader::getint64(), sqlite3x::sqlite3_reader::read(), and SQLITE3X_THROW.
| double sqlite3x::sqlite3_command::executedouble | ( | ) |
Definition at line 211 of file sqlite3x_command.cpp.
References executereader(), sqlite3x::sqlite3_reader::getdouble(), sqlite3x::sqlite3_reader::read(), and SQLITE3X_THROW.
| std::string sqlite3x::sqlite3_command::executestring | ( | ) |
Definition at line 218 of file sqlite3x_command.cpp.
References executereader(), sqlite3x::sqlite3_reader::getstring(), sqlite3x::sqlite3_reader::read(), and SQLITE3X_THROW.
| std::wstring sqlite3x::sqlite3_command::executestring16 | ( | ) |
Definition at line 225 of file sqlite3x_command.cpp.
References executereader(), sqlite3x::sqlite3_reader::getstring16(), sqlite3x::sqlite3_reader::read(), and SQLITE3X_THROW.
| std::string sqlite3x::sqlite3_command::executeblob | ( | ) |
Definition at line 232 of file sqlite3x_command.cpp.
References executereader(), sqlite3x::sqlite3_reader::getblob(), sqlite3x::sqlite3_reader::read(), and SQLITE3X_THROW.
friend class sqlite3_reader [friend] |
sqlite3_connection& sqlite3x::sqlite3_command::con [private] |
Definition at line 172 of file sqlite3x.hpp.
struct sqlite3_stmt* sqlite3x::sqlite3_command::stmt [read, private] |
unsigned int sqlite3x::sqlite3_command::refs [private] |
Definition at line 174 of file sqlite3x.hpp.
Referenced by sqlite3x::sqlite3_reader::operator=(), and sqlite3x::sqlite3_reader::sqlite3_reader().
int sqlite3x::sqlite3_command::argc [private] |
1.5.3