|
Library for MQL5 (MetaTrader) with support for Spark
|
Write data to a file format MySQL.
Public Member Functions | |
| int | getHandle () |
| string | getFileName () |
| string | getTable () |
| void | setTable (string _table) |
| string | getSchema () |
| void | setSchema (string _schema) |
| CSqlFile () | |
| CSqlFile (string _table, bool _append, string _schema="forex", string _filesuffix="") | |
| bool | createFile (string _table, bool _append, string _schema="forex", string _filesuffix="") |
| ~CSqlFile () | |
| void | close () |
| bool | createTable (CSqlObject &sqlobject, bool drop=true) |
| bool | insert (CSqlObject &sqlobject) |
| string | getString (string rec) |
| void | transaction (bool commit=false) |
Protected Attributes | |
| int | hsql |
| string | table |
| string | schema |
| string | filename |
| uint | transaction_count |
| CSqlFile::CSqlFile | ( | ) |
| CSqlFile::CSqlFile | ( | string | _table, |
| bool | _append, | ||
| string | _schema = "forex", |
||
| string | _filesuffix = "" |
||
| ) |
| CSqlFile::~CSqlFile | ( | ) |
| void CSqlFile::close | ( | ) |
| bool CSqlFile::createFile | ( | string | _table, |
| bool | _append, | ||
| string | _schema = "forex", |
||
| string | _filesuffix = "" |
||
| ) |
| bool CSqlFile::createTable | ( | CSqlObject & | sqlobject, |
| bool | drop = true |
||
| ) |
| string CSqlFile::getFileName | ( | ) |
| int CSqlFile::getHandle | ( | ) |
| string CSqlFile::getSchema | ( | ) |
| string CSqlFile::getString | ( | string | rec | ) |
| string CSqlFile::getTable | ( | ) |
| bool CSqlFile::insert | ( | CSqlObject & | sqlobject | ) |
| void CSqlFile::setSchema | ( | string | _schema | ) |
| void CSqlFile::setTable | ( | string | _table | ) |
| void CSqlFile::transaction | ( | bool | commit = false | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |