aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/statement.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/mysql/statement.hxx')
-rw-r--r--odb/mysql/statement.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/odb/mysql/statement.hxx b/odb/mysql/statement.hxx
index ec128f2..93adea4 100644
--- a/odb/mysql/statement.hxx
+++ b/odb/mysql/statement.hxx
@@ -97,8 +97,12 @@ namespace odb
return rows_;
}
+ // Fetch next or current row depending on the next argument.
+ // Note that fetching of the current row is only supported
+ // if the result is cached.
+ //
result
- fetch ();
+ fetch (bool next = true);
void
refetch ();