From 5389571e2db6b62ecc8e45b5e8bea1739ab67957 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 4 Jul 2021 12:48:02 +0100 Subject: Introduce the cursor concept Not implemented for PQ yet. --- lib/dbRecordSet.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/dbRecordSet.h') 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; + + class Cursor { + public: + virtual ~Cursor() = default; + + virtual bool fetch() = 0; + }; + using CursorPtr = std::unique_ptr; } #endif -- cgit v1.2.3