diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-08 16:09:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-08 16:09:08 +0200 |
commit | 382035d872a2cbb22fc14d3c87db93b1f39b407b (patch) | |
tree | eae01dfdad70ffc916e3dc23a6f279a1a25a1556 /odb/sqlite/no-id-object-result.hxx | |
parent | d8fed1d9dbab80e14033b385c604abb41cc84390 (diff) |
Ground work for multi-database support
All generated code now includes database id. The database-specific
database class interface has been updated to include all the database
operations. The database-specific tests now use this interface.
Diffstat (limited to 'odb/sqlite/no-id-object-result.hxx')
-rw-r--r-- | odb/sqlite/no-id-object-result.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/sqlite/no-id-object-result.hxx b/odb/sqlite/no-id-object-result.hxx index 84a7265..7079678 100644 --- a/odb/sqlite/no-id-object-result.hxx +++ b/odb/sqlite/no-id-object-result.hxx @@ -14,7 +14,7 @@ #include <odb/details/shared-ptr.hxx> #include <odb/sqlite/version.hxx> -#include <odb/sqlite/forward.hxx> // query +#include <odb/sqlite/forward.hxx> // query_base #include <odb/sqlite/result.hxx> #include <odb/sqlite/statement.hxx> @@ -29,10 +29,10 @@ namespace odb public: typedef odb::no_id_object_result_impl<T> base_type; - typedef typename base_type::object_traits object_traits; typedef typename base_type::object_type object_type; - typedef typename base_type::pointer_type pointer_type; + + typedef object_traits_impl<object_type, id_sqlite> object_traits; typedef typename base_type::pointer_traits pointer_traits; typedef typename object_traits::statements_type statements_type; @@ -40,7 +40,7 @@ namespace odb virtual ~no_id_object_result_impl (); - no_id_object_result_impl (const query&, + no_id_object_result_impl (const query_base&, details::shared_ptr<select_statement>, statements_type&); |