diff options
Diffstat (limited to 'odb/mysql/common.hxx')
-rw-r--r-- | odb/mysql/common.hxx | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/odb/mysql/common.hxx b/odb/mysql/common.hxx index 5017158..452a0a6 100644 --- a/odb/mysql/common.hxx +++ b/odb/mysql/common.hxx @@ -115,6 +115,50 @@ namespace mysql private: bool r_; }; + + struct query_column: member_base + { + query_column (context&); + query_column (context&, semantics::class_&); + + virtual void + pre (type&); + + virtual void + traverse_integer (type&, sql_type const&); + + virtual void + traverse_float (type&, sql_type const&); + + virtual void + traverse_decimal (type&, sql_type const&); + + virtual void + traverse_date_time (type&, sql_type const&); + + virtual void + traverse_short_string (type&, sql_type const&); + + virtual void + traverse_long_string (type&, sql_type const&); + + virtual void + traverse_bit (type&, sql_type const&); + + virtual void + traverse_enum (type&, sql_type const&); + + virtual void + traverse_set (type&, sql_type const&); + + private: + string type_; + string name_; + string scope_; + string table_; + string column_; + bool decl_; + }; } #endif // ODB_MYSQL_COMMON_HXX |