23 struct SqliteConnectorFriend;
86 bool columnExists(
const std::string& tablename,
const std::string& colname);
File adapter for Sqlite files.
Definition SqliteConnector.h:41
bool columnExists(const std::string &tablename, const std::string &colname)
Checks whether the given table contains a certain column.
~SqliteConnector()
Destructor.
void executeBindStatement(const std::string &prepare_statement, const std::vector< std::string > &data)
Executes raw data SQL statements (insert statements)
SqliteConnector(const std::string &filename, const SqlOpenMode mode=SqlOpenMode::READWRITE_OR_CREATE)
SqlOpenMode
how an sqlite db should be opened
Definition SqliteConnector.h:46
SqliteConnector()=delete
Default constructor.
bool tableExists(const std::string &tablename)
Checks whether the given table exists.
void openDatabase_(const std::string &filename, const SqlOpenMode mode)
Opens a new SQLite database.
void executeStatement(const std::string &statement)
Executes a given SQL statement (insert statement)
Size countTableRows(const std::string &table_name)
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition Types.h:97
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Definition SqliteConnector_impl.h:42