add a method to access the underlying MYSQL_ROW
This commit is contained in:
parent
a1213142df
commit
d777f6104f
|
@ -33,6 +33,8 @@ class zmDbRow {
|
||||||
zmDbRow( MYSQL_RES *, MYSQL_ROW *row );
|
zmDbRow( MYSQL_RES *, MYSQL_ROW *row );
|
||||||
~zmDbRow();
|
~zmDbRow();
|
||||||
|
|
||||||
|
MYSQL_ROW mysql_row() const { return row; };
|
||||||
|
|
||||||
char *operator[](unsigned int index) const {
|
char *operator[](unsigned int index) const {
|
||||||
return row[index];
|
return row[index];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue