summaryrefslogtreecommitdiff
path: root/odb/semantics
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-09-16 07:07:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-09-16 07:07:33 +0200
commit5a5bf7fc225ac225dbc03df55f6be7c56cb419aa (patch)
treedba57ca78b11572bfa51aaa2a430d7002e1e9563 /odb/semantics
parent04ef42158ed426cffdf4dfd72944bc6f89ec6efb (diff)
Implement logical column drop for SQLite
Diffstat (limited to 'odb/semantics')
-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;