#include <CDB.h>
Public Member Functions | |
CDBrow (CDBquery *Q, int trow=0) | |
Default constructor. | |
CDBrow (const CDBrow &c) | |
Copy constructor. | |
CDBrow () | |
CDBrow & | operator= (const CDBrow &c) |
CDBfield | operator[] (const CDBstring &fn) |
Retriev field by name operator. | |
CDBfield | operator[] (int i) |
Retriev field by index operator. | |
Data Fields | |
CDBquery * | mQ |
int | row |
This class is an abstract view of a row in a sql query resultset. This class uses the driver capabilities to navigate with a simple index number through the fields of an database row. With the overlaoded operator[](const char* fn) you can search for columns by it name.
|
|
|
Copy constructor.
|
|
Default constructor.
|
|
|
|
Retriev field by name operator.
|
|
Retriev field by index operator.
|
|
|
|
|