Library for MQL5 (MetaTrader) with support for Spark
|
This class stores the result of the class inherited from CSqlObject into the array.
Since the formation of data is done using functions, the moment of data formation can be much later than expected.
Public Member Functions | |
CSqlObjectSnapShot (CSqlObject &sqlobject) | |
virtual bool | toSqlTable (string &types[][2], string &primaryKeys[]) |
Create a table. More... | |
virtual bool | toSqlRecord (string &list[][2]) |
Forming data for writing to a table. More... | |
Protected Attributes | |
string | snap_types [][2] |
string | snap_primaryKeys [] |
bool | snap_table |
string | snap_list [][2] |
bool | snap_record |
CSqlObjectSnapShot::CSqlObjectSnapShot | ( | CSqlObject & | sqlobject | ) |
|
virtual |
Forming data for writing to a table.
[out] | list | [x][0] = name, [x][1] = data |
Reimplemented from CSqlObject.
|
virtual |
Create a table.
[out] | types | [x][0] = name, [x][1] = type |
[out] | primaryKeys | https://en.wikipedia.org/wiki/Primary_key |
Reimplemented from CSqlObject.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |