1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2026-06-01 23:47:10 +02:00

Implement simple result stepping in the MySQL module.

This commit is contained in:
Sandu Liviu Catalin
2016-06-29 18:31:10 +03:00
parent 03237f9c15
commit 7836f0ab23
4 changed files with 157 additions and 11 deletions
+21
View File
@@ -201,6 +201,27 @@ public:
* Create the result-set from a Statement.
*/
void Create(const StmtRef & stmt);
/* --------------------------------------------------------------------------------------------
* Returns the current position of the row cursor for the last Next().
*/
Uint64 RowIndex() const;
/* --------------------------------------------------------------------------------------------
* Returns the number of rows in the result set.
*/
Uint64 RowCount() const;
/* --------------------------------------------------------------------------------------------
* Retrieve the next row from the query.
*/
bool Next();
/* --------------------------------------------------------------------------------------------
* Seeks to an arbitrary row in a query result set.
*/
bool SetRowIndex(Uint64 index);
};