diff options
Diffstat (limited to 'lib/input/mysqlRecordSet.cpp')
-rw-r--r-- | lib/input/mysqlRecordSet.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/input/mysqlRecordSet.cpp b/lib/input/mysqlRecordSet.cpp index 1585052..494ce13 100644 --- a/lib/input/mysqlRecordSet.cpp +++ b/lib/input/mysqlRecordSet.cpp @@ -105,6 +105,12 @@ namespace MyGrate::Input { verify<MySQLErr>(!mysql_stmt_fetch(stmt.get()), "Fetch", stmt.get()); currentRow = row; } + return MySQLData::at(col); + } + + DbValue + MySQLData::at(std::size_t col) const + { if (extras[col]->null) { return nullptr; } |