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, 6 insertions, 0 deletions
diff --git a/odb/mysql/statement.hxx b/odb/mysql/statement.hxx
index 3df86c0..343595d 100644
--- a/odb/mysql/statement.hxx
+++ b/odb/mysql/statement.hxx
@@ -70,6 +70,12 @@ namespace odb
void
cache ();
+ bool
+ cached () const
+ {
+ return cached_;
+ }
+
std::size_t
result_size ();