diff options
-rw-r--r-- | odb/query.hxx | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/odb/query.hxx b/odb/query.hxx index 780ae39..82fb411 100644 --- a/odb/query.hxx +++ b/odb/query.hxx @@ -12,6 +12,19 @@ namespace odb { + // + // + template <typename T> + struct query_columns_base; + + template <typename T, const char* table> + struct query_columns; + + template <typename T, const char* table> + struct pointer_query_columns; + + // + // template <typename T, class_kind kind = class_traits<T>::kind> struct query_selector; @@ -20,12 +33,6 @@ namespace odb { typedef typename object_traits<T>::query_base_type base_type; typedef typename object_traits<T>::query_type type; - - static const char* - table_name () - { - return object_traits<T>::table_name; - } }; template <typename T> @@ -33,12 +40,6 @@ namespace odb { typedef typename view_traits<T>::query_base_type base_type; typedef typename view_traits<T>::query_type type; - - static const char* - table_name () - { - return ""; - } }; template <typename T, typename Q = typename query_selector<T>::base_type> |