diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-23 11:59:05 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-23 11:59:05 +0200 |
commit | 2c24feb3a45019665cf156660e81824750dd6309 (patch) | |
tree | 8c82d1dca559af78f88c8a28fd64cdea8a239a1a /odb/mysql/statement.hxx | |
parent | da518dc1ae7e78c753f5ea4fdfa27b140841de5d (diff) |
Add swap(), empty(), and size() to result class template
Diffstat (limited to 'odb/mysql/statement.hxx')
-rw-r--r-- | odb/mysql/statement.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/mysql/statement.hxx b/odb/mysql/statement.hxx index 1684600..bdeee7a 100644 --- a/odb/mysql/statement.hxx +++ b/odb/mysql/statement.hxx @@ -89,6 +89,9 @@ namespace odb void cache (); + std::size_t + result_size (); + result fetch (); @@ -108,6 +111,7 @@ namespace odb private: bool end_; bool cached_; + std::size_t rows_; binding& image_; std::size_t image_version_; |