From 4cde011f27cd406804f05aa8fd1d28ed91a26738 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 1 Aug 2012 11:16:20 +0200 Subject: Add support for empty column names in composite value types --- odb/context.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'odb/context.hxx') diff --git a/odb/context.hxx b/odb/context.hxx index e4b9418..f201596 100644 --- a/odb/context.hxx +++ b/odb/context.hxx @@ -564,6 +564,11 @@ public: string const& key_prefix, string const& default_name) const; + // Compose the name by inserting/removing an underscore, as necessary. + // + static string + compose_name (string const& prefix, string const& name); + string column_type (const data_member_path&, string const& key_prefix = string (), -- cgit v1.1