diff options
Diffstat (limited to 'odb/pgsql/statement.hxx')
-rw-r--r-- | odb/pgsql/statement.hxx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/odb/pgsql/statement.hxx b/odb/pgsql/statement.hxx index 863af53..146a34f 100644 --- a/odb/pgsql/statement.hxx +++ b/odb/pgsql/statement.hxx @@ -33,6 +33,9 @@ namespace odb virtual ~statement () = 0; + void + deallocate (); + protected: statement (connection&, const std::string& name, @@ -62,6 +65,9 @@ namespace odb protected: connection& conn_; std::string name_; + + private: + bool deallocated_; }; class LIBODB_PGSQL_EXPORT select_statement: public statement @@ -92,6 +98,17 @@ namespace odb void execute (); + void + cache () const + { + } + + std::size_t + result_size () const + { + return row_count_; + } + // Load next row columns into bound buffers. // result |