From 6d61eaff73f1a64e375cc0601d12c41c3abdee8b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 4 Jul 2021 19:20:25 +0100 Subject: Get columns and values from cursors --- lib/input/mysqlRecordSet.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/input/mysqlRecordSet.h') diff --git a/lib/input/mysqlRecordSet.h b/lib/input/mysqlRecordSet.h index 0e3a96f..d07978a 100644 --- a/lib/input/mysqlRecordSet.h +++ b/lib/input/mysqlRecordSet.h @@ -32,7 +32,9 @@ namespace MyGrate::Input { public: using MySQLData::MySQLData; - bool fetch(); + bool fetch() override; + std::size_t columns() const override; + DbValue at(std::size_t col) const override; }; class MySQLRecordSet : public MySQLData, public RecordSet { -- cgit v1.2.3