libdballe  7.6
Public Member Functions | Protected Attributes
dballe::db::sqlite::SQLiteDataV6 Class Reference

Precompiled query to manipulate the data table. More...

#include <datav6.h>

Inheritance diagram for dballe::db::sqlite::SQLiteDataV6:
dballe::db::sql::DataV6

Public Member Functions

 SQLiteDataV6 (SQLiteConnection &conn)
 
 SQLiteDataV6 (const SQLiteDataV6 &)=delete
 
 SQLiteDataV6 (const SQLiteDataV6 &&)=delete
 
SQLiteDataV6operator= (const SQLiteDataV6 &)=delete
 
void insert (Transaction &t, sql::bulk::InsertV6 &vars, UpdateMode update_mode=UPDATE) override
 Bulk variable insert.
 
void remove (const v6::QueryBuilder &qb) override
 Run the query to delete all records selected by the given QueryBuilder.
 
void dump (FILE *out) override
 Dump the entire contents of the table to an output stream.
 

Protected Attributes

SQLiteConnectionconn
 DB connection.
 
SQLiteStatementsstm = nullptr
 Precompiled select statement to prepare bulk insert.
 

Additional Inherited Members

- Public Types inherited from dballe::db::sql::DataV6
enum  UpdateMode { UPDATE, IGNORE, ERROR }
 

Detailed Description

Precompiled query to manipulate the data table.


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