Botan  2.7.0
Crypto and TLS for C++11
Classes | Public Member Functions | List of all members
Botan::SQL_Database Class Referenceabstract

#include <database.h>

Inheritance diagram for Botan::SQL_Database:
Botan::Sqlite3_Database

Classes

class  SQL_DB_Error
 
class  Statement
 

Public Member Functions

virtual void create_table (const std::string &table_schema)=0
 
virtual std::shared_ptr< Statementnew_statement (const std::string &base_sql) const =0
 
virtual size_t row_count (const std::string &table_name)=0
 
virtual ~SQL_Database ()=default
 

Detailed Description

Definition at line 19 of file database.h.

Constructor & Destructor Documentation

◆ ~SQL_Database()

virtual Botan::SQL_Database::~SQL_Database ( )
virtualdefault

Member Function Documentation

◆ create_table()

virtual void Botan::SQL_Database::create_table ( const std::string &  table_schema)
pure virtual

Implemented in Botan::Sqlite3_Database.

◆ new_statement()

virtual std::shared_ptr<Statement> Botan::SQL_Database::new_statement ( const std::string &  base_sql) const
pure virtual

Implemented in Botan::Sqlite3_Database.

◆ row_count()

virtual size_t Botan::SQL_Database::row_count ( const std::string &  table_name)
pure virtual

Implemented in Botan::Sqlite3_Database.


The documentation for this class was generated from the following file: