diff options
-rw-r--r-- | odb/object-result.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/object-result.hxx b/odb/object-result.hxx index 8b0b502..9895e91 100644 --- a/odb/object-result.hxx +++ b/odb/object-result.hxx @@ -281,6 +281,12 @@ namespace odb void load (object_type&); + id_type + id () + { + return res_->load_id (); + } + protected: result_impl_type* res_; }; |