summaryrefslogtreecommitdiff
path: root/odb/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-08-01 11:16:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-08-01 11:16:20 +0200
commit4cde011f27cd406804f05aa8fd1d28ed91a26738 (patch)
treedc202095520894044a93e1ea5b8a9c30e84e4e25 /odb/context.hxx
parent4fcb4ae749b3cf40f24ab1b9ddeb58b3ae0600f7 (diff)
Add support for empty column names in composite value types
Diffstat (limited to 'odb/context.hxx')
-rw-r--r--odb/context.hxx5
1 files changed, 5 insertions, 0 deletions
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 (),