aboutsummaryrefslogtreecommitdiff
path: root/odb/sql-token.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-10-24 16:26:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-10-24 16:26:45 +0200
commit3831dbb9c8aa44654f218c4607f396558fce9747 (patch)
tree9b96e7bbc7e2a6bdc20b66c3798f6b6bbf68a7b1 /odb/sql-token.hxx
parent34cf74d6813c7113a1833371510cea6be22808cc (diff)
Add support for string representation of sql_token
Diffstat (limited to 'odb/sql-token.hxx')
-rw-r--r--odb/sql-token.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/sql-token.hxx b/odb/sql-token.hxx
index 4d9c7a1..2a00bae 100644
--- a/odb/sql-token.hxx
+++ b/odb/sql-token.hxx
@@ -59,6 +59,12 @@ public:
std::string const&
literal () const;
+ // Human-readable string representation.
+ //
+public:
+ std::string
+ string () const;
+
// C-tors.
//
public: