32 const char* query =
"SELECT"
49 codelog(DATABASE__ERROR,
"Couldn't get live updates from database: %s", res.
error.
c_str());
71 for (
int i = 0; i < 7; i++)
74 LiveUpdateInner inner;
77 inner.codeType = row.
GetText(9);
78 inner.objectID = row.
GetText(8);
79 inner.methodName = row.
GetText(7);
80 packedRow->
SetField(static_cast<uint32>(7) , inner.Encode());
82 list->
SetItem(listIndex++, packedRow);
84 list->
Dump(NET__PRES_DEBUG,
" ");
uint32 ColumnLength(uint32 index) const
const char * GetText(uint32 index) const
void AddColumn(const char *name, DBTYPE type)
void Dump(FILE *into, const char *pfx) const
Dumps object to file.
bool GetRow(DBResultRow &into)
const char * c_str() const
Python object "blue.DBRowDescriptor".
#define codelog(type, fmt,...)
void SetItem(size_t index, PyRep *object)
Stores Python object.
bool SetField(uint32 index, PyRep *value)
PyList * GenerateUpdates()
PyRep * DBColumnToPyRep(const DBResultRow &row, uint32 index)