#include <cSQLConfig.h>
|
UINT | m_uCmdFlags |
| These flags effect how a command might be built. options supported (or not) by drivers. More...
|
|
What type of relational DB is this ? e.g. SQLite, MySQL, MSSQL, Excel, etc. (maybe Oracle, PostgreSQL, HSQLDB, Presto, Impala) What SQL commands are allowed by the target database connection? How to code them. https://en.wikipedia.org/wiki/Comparison_of_relational_database_management_systems
◆ CMDFLG_TYPE
Config flags for the db connection.
Enumerator |
---|
CMDFLG_MSSQL | default to a SQL style that works for M$SQL
|
CMDFLG_MySQL | Use MySQL/SQLite style extensions else M$SQL or Oracle ?
|
CMDFLG_DateWrap | Allow {ts'X'} wrapper for the date.
|
◆ cSQLConfigCmd()
GrayLib::cSQLConfigCmd::cSQLConfigCmd |
( |
UINT |
uCmdFlags = CMDFLG_MSSQL | ) |
|
|
inline |
◆ ConvertEscapeQuotes()
bool GrayLib::cSQLConfigCmd::ConvertEscapeQuotes |
( |
cStringA & |
a_cs | ) |
const |
Convert quotes based on what db I'm attached to.
- Note
- look for any chars out of range ?!!!
◆ GetSQLTypeName()
Get the type name from the ColumnInfo
- Returns
- a SQL type string from the cSQLColumnInfo.
◆ isConvertEscapes()
bool GrayLib::cSQLConfigCmd::isConvertEscapes |
( |
| ) |
const |
|
inlinenoexcept |
I need to convert escapes manually?
- Returns
- true = MySQL/SQLite, false = MSSQL (does it for me)
◆ isDateWrap()
bool GrayLib::cSQLConfigCmd::isDateWrap |
( |
| ) |
const |
|
inlinenoexcept |
◆ isUseLIMITCommand()
bool GrayLib::cSQLConfigCmd::isUseLIMITCommand |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- true = MySQL/SQLite, false = MSSQL (has 'TOP' command)
◆ m_uCmdFlags
UINT GrayLib::cSQLConfigCmd::m_uCmdFlags |
These flags effect how a command might be built. options supported (or not) by drivers.
The documentation for this class was generated from the following files: