diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-11-29 11:32:44 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-11-29 11:32:44 +0200 |
commit | 18add9bb3064d8a994cc1b0c3a50c5df2dff3bf9 (patch) | |
tree | 9764a04bcbb4970b7f9980b7e9ed6f938f91e91f /odb/pgsql/query.hxx | |
parent | 4d51a8a248bcbe50849b6c7682aaca1aa9ebff98 (diff) |
Namespace management for static multi-database support
Now in libodb the odb::core namespace is split into odb::common (database-
independent stuff) and odb::core proper, which imports odb::common. Each
database runtime now defines odb::<db>::core namespace which also imports
odb::common and adds the database-specific bits. The overall idea is that
one can do using namespace odb::<db>::core just like for odb::core.
Diffstat (limited to 'odb/pgsql/query.hxx')
-rw-r--r-- | odb/pgsql/query.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/pgsql/query.hxx b/odb/pgsql/query.hxx index 997f206..9d0b333 100644 --- a/odb/pgsql/query.hxx +++ b/odb/pgsql/query.hxx @@ -1866,6 +1866,11 @@ namespace odb { } }; + + namespace core + { + using pgsql::query; + } } // Derive odb::query from odb::pgsql::query so that it can be |