aboutsummaryrefslogtreecommitdiff
path: root/odb/forward.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-11-21 13:11:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-11-21 13:11:43 +0200
commite68f09c0e8c747474745f3438496e9352a199dbd (patch)
treeb609371a129df96147aa77fc838ceca39b8be533 /odb/forward.hxx
parentfd5ba96357002c0964453fea38ee6a813cf02826 (diff)
Add dynamic multi-database query support
Diffstat (limited to 'odb/forward.hxx')
-rw-r--r--odb/forward.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/odb/forward.hxx b/odb/forward.hxx
index 18e0340..705acd3 100644
--- a/odb/forward.hxx
+++ b/odb/forward.hxx
@@ -54,13 +54,13 @@ namespace odb
id_pgsql,
id_oracle,
id_mssql,
- id_default
+ id_common
};
// Number of real databases (i.e., excluding default) in the database_id
// enum.
//
- const std::size_t database_count = id_default;
+ const std::size_t database_count = id_common;
// Traits.
//
@@ -118,6 +118,13 @@ namespace odb
//
//
+ class query_base;
+
+ template <typename T>
+ struct query_column;
+
+ //
+ //
class result_impl;
class prepared_query_impl;