diff options
Diffstat (limited to 'lib/dbRecordSet.h')
-rw-r--r-- | lib/dbRecordSet.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/dbRecordSet.h b/lib/dbRecordSet.h index a9da882..a217f12 100644 --- a/lib/dbRecordSet.h +++ b/lib/dbRecordSet.h @@ -49,6 +49,14 @@ namespace MyGrate { RowView end() const; }; using RecordSetPtr = std::unique_ptr<RecordSet>; + + class Cursor { + public: + virtual ~Cursor() = default; + + virtual bool fetch() = 0; + }; + using CursorPtr = std::unique_ptr<Cursor>; } #endif |