EvEmu
0.8.4
11 September 2021
|
#include "python/PyRep.h"
Go to the source code of this file.
Classes | |
class | ReaderColumnContentDesc |
Helper class for column description. More... | |
Functions | |
template<typename _Reader > | |
void | ClassifyColumnTypes (std::vector< ReaderColumnContentDesc > &into, _Reader &reader) |
Classifies columns using ReaderColumnContentDesc. More... | |
template<typename _Reader > | |
bool | ReaderToSQL (const char *table_name, const char *key_field, FILE *out, _Reader &reader) |
Dumps rowset to SQL. More... | |
Variables | |
const size_t | INSERT_QUERY_ROW_LIMIT |
void ClassifyColumnTypes | ( | std::vector< ReaderColumnContentDesc > & | into, |
_Reader & | reader | ||
) |
Classifies columns using ReaderColumnContentDesc.
[out] | into | Array of ReaderColumnContentDesc objects, which receive column descriptions. |
[in] | reader | Rowset reader to use. |
Definition at line 95 of file RowsetToSQL.h.
bool ReaderToSQL | ( | const char * | table_name, |
const char * | key_field, | ||
FILE * | out, | ||
_Reader & | reader | ||
) |
Dumps rowset to SQL.
[in] | table_name | Name of table to be created. |
[in] | key_field | Key field of table. |
[out] | out | Output file. |
[in] | reader | Rowset reader to use. |
Definition at line 119 of file RowsetToSQL.h.
References INSERT_QUERY_ROW_LIMIT, ReaderColumnContentDesc::nullString(), sLog, and ReaderColumnContentDesc::typeString().
const size_t INSERT_QUERY_ROW_LIMIT |
The largest amount of rows to be inserted by single query.
Definition at line 30 of file RowsetToSQL.cpp.
Referenced by ReaderToSQL().