#include <dataset.h>
◆ Dataset() [1/2]
dbiplus::Dataset::Dataset |
( |
| ) |
|
◆ Dataset() [2/2]
dbiplus::Dataset::Dataset |
( |
Database * | newDb | ) |
|
|
explicit |
◆ ~Dataset()
dbiplus::Dataset::~Dataset |
( |
| ) |
|
|
virtual |
◆ add_delete_sql() [1/2]
void dbiplus::Dataset::add_delete_sql |
( |
const char * | del_sql | ) |
|
◆ add_delete_sql() [2/2]
void dbiplus::Dataset::add_delete_sql |
( |
const std::string & | del_sql | ) |
|
◆ add_insert_sql() [1/2]
void dbiplus::Dataset::add_insert_sql |
( |
const char * | ins_sql | ) |
|
◆ add_insert_sql() [2/2]
void dbiplus::Dataset::add_insert_sql |
( |
const std::string & | ins_sql | ) |
|
◆ add_update_sql() [1/2]
void dbiplus::Dataset::add_update_sql |
( |
const char * | upd_sql | ) |
|
◆ add_update_sql() [2/2]
void dbiplus::Dataset::add_update_sql |
( |
const std::string & | upd_sql | ) |
|
◆ append()
virtual void dbiplus::Dataset::append |
( |
| ) |
|
|
inlinevirtual |
◆ bof()
virtual bool dbiplus::Dataset::bof |
( |
void | | ) |
|
|
inlinevirtual |
◆ cancel()
virtual void dbiplus::Dataset::cancel |
( |
| ) |
|
|
inlinevirtual |
◆ clear_delete_sql()
void dbiplus::Dataset::clear_delete_sql |
( |
| ) |
|
◆ clear_insert_sql()
void dbiplus::Dataset::clear_insert_sql |
( |
| ) |
|
◆ clear_update_sql()
void dbiplus::Dataset::clear_update_sql |
( |
| ) |
|
◆ close()
◆ del()
void dbiplus::Dataset::del |
( |
| ) |
|
|
virtual |
◆ delete_sql_count()
size_t dbiplus::Dataset::delete_sql_count |
( |
| ) |
|
◆ deletion()
void dbiplus::Dataset::deletion |
( |
| ) |
|
|
virtual |
◆ dropIndex()
virtual bool dbiplus::Dataset::dropIndex |
( |
const char * | table, |
|
|
const char * | index ) |
|
inlinevirtual |
Drop an index from the database table, provided it exists.
- Parameters
-
table | - name of the table the index to be dropped is associated with |
index | - name of the index to be dropped |
- Returns
- true when the index is guaranteed to no longer exist in the database.
Reimplemented in dbiplus::MysqlDataset, and dbiplus::SqliteDataset.
◆ edit()
void dbiplus::Dataset::edit |
( |
| ) |
|
|
virtual |
◆ eof()
virtual bool dbiplus::Dataset::eof |
( |
void | | ) |
|
|
inlinevirtual |
◆ exec() [1/2]
virtual int dbiplus::Dataset::exec |
( |
| ) |
|
|
pure virtual |
◆ exec() [2/2]
virtual int dbiplus::Dataset::exec |
( |
const std::string & | sql | ) |
|
|
pure virtual |
◆ f_old()
◆ field_count()
int dbiplus::Dataset::field_count |
( |
| ) |
|
|
virtual |
◆ fieldCount()
int dbiplus::Dataset::fieldCount |
( |
| ) |
|
|
virtual |
◆ fieldIndex()
int dbiplus::Dataset::fieldIndex |
( |
const char * | fn | ) |
|
|
virtual |
◆ fieldName()
const char * dbiplus::Dataset::fieldName |
( |
int | n | ) |
|
|
virtual |
◆ fill_fields()
virtual void dbiplus::Dataset::fill_fields |
( |
void | | ) |
|
|
protectedpure virtual |
◆ findNext()
bool dbiplus::Dataset::findNext |
( |
void | | ) |
|
|
virtual |
◆ first()
void dbiplus::Dataset::first |
( |
| ) |
|
|
virtual |
◆ fv() [1/2]
const field_value & dbiplus::Dataset::fv |
( |
const char * | f | ) |
|
|
inline |
◆ fv() [2/2]
◆ get_autocommit()
bool dbiplus::Dataset::get_autocommit |
( |
| ) |
|
|
inline |
◆ get_edit_object()
Fields * dbiplus::Dataset::get_edit_object |
( |
| ) |
|
|
inline |
◆ get_field_value() [1/2]
const field_value & dbiplus::Dataset::get_field_value |
( |
const char * | f_name | ) |
|
|
virtual |
◆ get_field_value() [2/2]
◆ get_fields_object()
Fields * dbiplus::Dataset::get_fields_object |
( |
| ) |
|
|
inline |
◆ get_result_set()
const result_set & dbiplus::Dataset::get_result_set |
( |
| ) |
|
|
inline |
◆ get_select_sql()
const char * dbiplus::Dataset::get_select_sql |
( |
| ) |
|
◆ get_sql_record()
const sql_record * dbiplus::Dataset::get_sql_record |
( |
| ) |
|
◆ get_state()
dsStates dbiplus::Dataset::get_state |
( |
| ) |
|
|
inline |
◆ getDatabase()
◆ getExecRes()
virtual const void * dbiplus::Dataset::getExecRes |
( |
| ) |
|
|
pure virtual |
◆ getExecSql()
const char * dbiplus::Dataset::getExecSql |
( |
void | | ) |
|
|
inline |
◆ goto_rec()
bool dbiplus::Dataset::goto_rec |
( |
int | pos = 1 | ) |
|
|
virtual |
◆ insert()
void dbiplus::Dataset::insert |
( |
| ) |
|
|
virtual |
◆ insert_sql_count()
size_t dbiplus::Dataset::insert_sql_count |
( |
| ) |
|
◆ interrupt()
virtual void dbiplus::Dataset::interrupt |
( |
| ) |
|
|
inlinevirtual |
◆ isActive()
virtual bool dbiplus::Dataset::isActive |
( |
void | | ) |
|
|
inlinevirtual |
◆ last()
void dbiplus::Dataset::last |
( |
| ) |
|
|
virtual |
◆ lastinsertid()
virtual int64_t dbiplus::Dataset::lastinsertid |
( |
| ) |
|
|
pure virtual |
◆ locate() [1/2]
bool dbiplus::Dataset::locate |
( |
| ) |
|
|
virtual |
◆ locate() [2/2]
◆ make_deletion()
virtual void dbiplus::Dataset::make_deletion |
( |
| ) |
|
|
protectedpure virtual |
◆ make_edit()
virtual void dbiplus::Dataset::make_edit |
( |
| ) |
|
|
protectedpure virtual |
◆ make_insert()
virtual void dbiplus::Dataset::make_insert |
( |
| ) |
|
|
protectedpure virtual |
◆ next()
◆ nextid()
virtual long dbiplus::Dataset::nextid |
( |
const char * | seq_name | ) |
|
|
pure virtual |
◆ num_rows()
virtual int dbiplus::Dataset::num_rows |
( |
| ) |
|
|
pure virtual |
◆ open() [1/2]
virtual void dbiplus::Dataset::open |
( |
| ) |
|
|
pure virtual |
◆ open() [2/2]
virtual void dbiplus::Dataset::open |
( |
const std::string & | sql | ) |
|
|
pure virtual |
◆ parse_sql()
void dbiplus::Dataset::parse_sql |
( |
std::string & | sql | ) |
|
|
protected |
◆ post()
void dbiplus::Dataset::post |
( |
| ) |
|
|
virtual |
◆ prev()
◆ query()
virtual bool dbiplus::Dataset::query |
( |
const std::string & | sql | ) |
|
|
pure virtual |
◆ refresh()
void dbiplus::Dataset::refresh |
( |
| ) |
|
|
virtual |
◆ seek()
bool dbiplus::Dataset::seek |
( |
int | pos = 0 | ) |
|
|
virtual |
◆ set_autocommit()
void dbiplus::Dataset::set_autocommit |
( |
bool | v | ) |
|
|
inline |
◆ set_field_value()
bool dbiplus::Dataset::set_field_value |
( |
const char * | f_name, |
|
|
const field_value & | value ) |
|
virtual |
◆ set_select_sql() [1/2]
void dbiplus::Dataset::set_select_sql |
( |
const char * | sel_sql | ) |
|
◆ set_select_sql() [2/2]
void dbiplus::Dataset::set_select_sql |
( |
const std::string & | select_sql | ) |
|
◆ setDatabase()
◆ setExecSql()
void dbiplus::Dataset::setExecSql |
( |
const char * | newSql | ) |
|
|
inline |
◆ setParamList()
◆ setSqlParams()
void dbiplus::Dataset::setSqlParams |
( |
sqlType | t, |
|
|
const char * | sqlFrmt, |
|
|
| ... ) |
|
virtual |
◆ sf()
virtual bool dbiplus::Dataset::sf |
( |
const char * | f, |
|
|
const field_value & | v ) |
|
inlinevirtual |
◆ str_toLower()
char * dbiplus::Dataset::str_toLower |
( |
char * | s | ) |
|
|
protected |
◆ active
bool dbiplus::Dataset::active |
|
protected |
◆ autocommit
bool dbiplus::Dataset::autocommit |
|
protected |
◆ autorefresh
bool dbiplus::Dataset::autorefresh |
|
protected |
◆ db
◆ delete_sql
◆ ds_state
◆ edit_object
Fields * dbiplus::Dataset::edit_object |
|
protected |
◆ empty_sql
std::string dbiplus::Dataset::empty_sql |
|
protected |
◆ exec_res
◆ fbof
bool dbiplus::Dataset::fbof |
|
protected |
◆ feof
bool dbiplus::Dataset::feof |
|
protected |
◆ fields_object
Fields* dbiplus::Dataset::fields_object |
|
protected |
◆ frecno
int dbiplus::Dataset::frecno |
|
protected |
◆ haveError
bool dbiplus::Dataset::haveError |
|
protected |
◆ insert_sql
◆ name2indexMap
std::unordered_map<std::string, unsigned int> dbiplus::Dataset::name2indexMap |
|
protected |
◆ plist
◆ result
◆ select_sql
std::string dbiplus::Dataset::select_sql |
|
protected |
◆ sql
std::string dbiplus::Dataset::sql |
|
protected |
◆ update_sql
The documentation for this class was generated from the following files: