summaryrefslogtreecommitdiff
path: root/lib/dbConn.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-07-04 12:48:02 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-07-04 12:48:02 +0100
commit5389571e2db6b62ecc8e45b5e8bea1739ab67957 (patch)
tree77f66babcfcf584ebc2a1c013731e19eeccbef5c /lib/dbConn.h
parentPush mysqldata at into base class (diff)
downloadmygrate-5389571e2db6b62ecc8e45b5e8bea1739ab67957.tar.bz2
mygrate-5389571e2db6b62ecc8e45b5e8bea1739ab67957.tar.xz
mygrate-5389571e2db6b62ecc8e45b5e8bea1739ab67957.zip
Introduce the cursor concept
Not implemented for PQ yet.
Diffstat (limited to 'lib/dbConn.h')
-rw-r--r--lib/dbConn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dbConn.h b/lib/dbConn.h
index ffdd2e0..f0549d3 100644
--- a/lib/dbConn.h
+++ b/lib/dbConn.h
@@ -12,6 +12,7 @@ namespace MyGrate {
virtual void execute(const std::initializer_list<DbValue> &) = 0;
virtual std::size_t rows() const = 0;
virtual RecordSetPtr recordSet() = 0;
+ virtual CursorPtr cursor() = 0;
};
using DbPrepStmtPtr = std::unique_ptr<DbPrepStmt>;