Implement SQLiteBatch::StartCursor, ReadAtCursor, and CloseCursor

This commit is contained in:
Andrew Chow
2020-05-26 20:53:46 -04:00
parent bf90e033f4
commit f6f9cd6a64
2 changed files with 30 additions and 2 deletions

View File

@@ -18,6 +18,8 @@ class SQLiteBatch : public DatabaseBatch
private:
SQLiteDatabase& m_database;
bool m_cursor_init = false;
sqlite3_stmt* m_read_stmt{nullptr};
sqlite3_stmt* m_insert_stmt{nullptr};
sqlite3_stmt* m_overwrite_stmt{nullptr};