diff options
Diffstat (limited to 'odb/pgsql/statement.hxx')
-rw-r--r-- | odb/pgsql/statement.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/odb/pgsql/statement.hxx b/odb/pgsql/statement.hxx index c66ff9b..e4e29f9 100644 --- a/odb/pgsql/statement.hxx +++ b/odb/pgsql/statement.hxx @@ -149,7 +149,10 @@ namespace odb execute (); unsigned long long - id (); + id () + { + return id_; + } private: insert_statement (const insert_statement&); @@ -159,7 +162,7 @@ namespace odb binding& data_; native_binding& native_data_; - Oid oid_; + unsigned long long id_; }; class LIBODB_PGSQL_EXPORT update_statement: public statement |