diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-07-04 19:20:25 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-07-04 19:20:25 +0100 |
commit | 6d61eaff73f1a64e375cc0601d12c41c3abdee8b (patch) | |
tree | 4c6036f00c1c813826163f2181b3798ed81cbd2c /lib/dbRecordSet.h | |
parent | Remember table when it's added (diff) | |
download | mygrate-6d61eaff73f1a64e375cc0601d12c41c3abdee8b.tar.bz2 mygrate-6d61eaff73f1a64e375cc0601d12c41c3abdee8b.tar.xz mygrate-6d61eaff73f1a64e375cc0601d12c41c3abdee8b.zip |
Get columns and values from cursors
Diffstat (limited to 'lib/dbRecordSet.h')
-rw-r--r-- | lib/dbRecordSet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dbRecordSet.h b/lib/dbRecordSet.h index a217f12..3bea950 100644 --- a/lib/dbRecordSet.h +++ b/lib/dbRecordSet.h @@ -55,6 +55,8 @@ namespace MyGrate { virtual ~Cursor() = default; virtual bool fetch() = 0; + virtual std::size_t columns() const = 0; + virtual DbValue at(std::size_t) const = 0; }; using CursorPtr = std::unique_ptr<Cursor>; } |