aboutsummaryrefslogtreecommitdiff
path: root/odb/semantics/relational/column.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/semantics/relational/column.hxx')
-rw-r--r--odb/semantics/relational/column.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/semantics/relational/column.hxx b/odb/semantics/relational/column.hxx
index 11a76e0..8c6436e 100644
--- a/odb/semantics/relational/column.hxx
+++ b/odb/semantics/relational/column.hxx
@@ -128,6 +128,13 @@ namespace semantics
: unameable (c, g) {}
drop_column (xml::parser&, uscope&, graph&);
+ public:
+ typedef relational::table table_type;
+
+ table_type&
+ table () const {return dynamic_cast<table_type&> (scope ());}
+
+ public:
virtual drop_column&
clone (uscope&, graph&) const;