![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cSQLCmd.h>
Public Member Functions | |
cSQLCmdUpdate (cStringA sTableName="") | |
virtual SQLCMD_TYPE | get_CmdType () const override |
virtual void | ResetCommand () override |
virtual void | MakeCommand (const cSQLConfigCmd &cfg) override |
build the string from our args. More... | |
![]() | |
cSQLCmdInsertBase (cStringA sTableName) | |
void | MakeCommandInsert (const cSQLConfigCmd &cfg, bool bFieldNames=true) |
bool | HasColumns () const |
void | AddColumn (const char *pszColumnName, const cVariant &vVal) |
![]() | |
cSQLCmd (cStringA sTableName="", cStringA sCommand="") | |
virtual | ~cSQLCmd () |
virtual bool | isResultsExpected () const |
cStringA | get_Table () const |
void | put_Table (cStringA sTable) |
bool | isCommandMade () const |
cStringA | get_Command () const |
void | put_Command (cStringA sCommand) |
void | ResetCommand0 () |
Public Attributes | |
cSQLCmdWhere | m_Where |
What records am i updating? More... | |
![]() | |
cVarMap | m_Values |
Named Fields and Values to set. allow me to poke stuff into this list directly. Similar to m_aParams for Where. More... | |
Additional Inherited Members | |
![]() | |
static bool GRAYCALL | IsValueTime (const char *pszVal) |
static cStringA GRAYCALL | MakeValueTime (const cSQLConfigCmd &cfg, const cTimeDouble &date) |
static cStringA GRAYCALL | MakeValueStr (const cSQLConfigCmd &cfg, const cVariant &vVal) |
![]() | |
static const char * | k_pszNULL = "NULL" |
![]() | |
cStringA | m_sTable |
The table ( 'From' if select ), delete, create. More... | |
cStringA | m_sCommand |
The resultant full SQL command. use MakeCommand() to build this up. More... | |
Update existing record. similar to cSQLCmdInsert SQLCMD_Update
|
explicit |
|
inlineoverridevirtual |
Implements GrayLib::cSQLCmd.
|
overridevirtual |
build the string from our args.
< Make command to update values to the database.
Implements GrayLib::cSQLCmd.
|
overridevirtual |
Reimplemented from GrayLib::cSQLCmdInsertBase.
cSQLCmdWhere GrayLib::cSQLCmdUpdate::m_Where |
What records am i updating?