add a method to access the underlying MYSQL_ROW

This commit is contained in:
Isaac Connor 2018-03-09 07:23:14 -05:00
parent a1213142df
commit d777f6104f
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ class zmDbRow {
zmDbRow( MYSQL_RES *, MYSQL_ROW *row );
~zmDbRow();
MYSQL_ROW mysql_row() const { return row; };
char *operator[](unsigned int index) const {
return row[index];
}