diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-13 13:41:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-13 13:41:26 +0200 |
commit | 4eb833507b1a974aa2c6aa89612b85aab3b43407 (patch) | |
tree | 830746eef347b65d4f752b2789643cc2c8c9a799 /odb/context.hxx | |
parent | 5dc5097486637e825c75560317bd2109c5e4bd58 (diff) |
Add public_name(), use it in column_name()
Diffstat (limited to 'odb/context.hxx')
-rw-r--r-- | odb/context.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/context.hxx b/odb/context.hxx index 9f5723a..3ca8d1e 100644 --- a/odb/context.hxx +++ b/odb/context.hxx @@ -35,6 +35,12 @@ public: // Database names and types. // public: + // Cleaned-up member name that can be used in public interfaces + // such as queries, column names, etc. + // + string + public_name (semantics::data_member&) const; + string table_name (semantics::type&) const; |