summaryrefslogtreecommitdiff
path: root/odb/mysql/context.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/mysql/context.hxx')
-rw-r--r--odb/mysql/context.hxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/odb/mysql/context.hxx b/odb/mysql/context.hxx
index 40facae..9a6beec 100644
--- a/odb/mysql/context.hxx
+++ b/odb/mysql/context.hxx
@@ -86,25 +86,32 @@ namespace mysql
bool
grow (semantics::class_&);
+ // The same for a member's value type.
+ //
+ bool
+ grow (semantics::data_member&, semantics::type&, string const& key_prefix);
+
//
//
public:
sql_type const&
- db_type (semantics::data_member&);
+ db_type (semantics::data_member&, string const& key_prefix = string ());
private:
typedef ::context base_context;
struct data: base_context::data
{
+ virtual string
+ column_type_impl (semantics::type&,
+ string const& type,
+ semantics::context*) const;
};
private:
data* data_;
public:
- virtual string
- column_type_impl (semantics::data_member&) const;
public:
context (std::ostream&, semantics::unit&, options_type const&);