diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-07-04 12:48:02 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-07-04 12:48:02 +0100 |
commit | 5389571e2db6b62ecc8e45b5e8bea1739ab67957 (patch) | |
tree | 77f66babcfcf584ebc2a1c013731e19eeccbef5c /lib/input/mysqlStmt.cpp | |
parent | Push mysqldata at into base class (diff) | |
download | mygrate-5389571e2db6b62ecc8e45b5e8bea1739ab67957.tar.bz2 mygrate-5389571e2db6b62ecc8e45b5e8bea1739ab67957.tar.xz mygrate-5389571e2db6b62ecc8e45b5e8bea1739ab67957.zip |
Introduce the cursor concept
Not implemented for PQ yet.
Diffstat (limited to 'lib/input/mysqlStmt.cpp')
-rw-r--r-- | lib/input/mysqlStmt.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/input/mysqlStmt.cpp b/lib/input/mysqlStmt.cpp index d3ba9ef..e0f4cbc 100644 --- a/lib/input/mysqlStmt.cpp +++ b/lib/input/mysqlStmt.cpp @@ -33,4 +33,10 @@ namespace MyGrate::Input { { return std::make_unique<MySQLRecordSet>(std::move(stmt)); } + + CursorPtr + MySQLPrepStmt::cursor() + { + return std::make_unique<MySQLCursor>(std::move(stmt)); + } } |