summaryrefslogtreecommitdiff
path: root/odb/mysql/inline.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-08-13 13:44:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-08-13 13:44:00 +0200
commitead623bfdd2004988f13d7cade7deaea1b71f7e8 (patch)
tree084c13c08b362d5bc511683316cb51e2eb379e6a /odb/mysql/inline.cxx
parent8100d903ef92d2ab3c789317fd1f187089ece8a7 (diff)
Add support for language-embedded queries
Diffstat (limited to 'odb/mysql/inline.cxx')
-rw-r--r--odb/mysql/inline.cxx22
1 files changed, 22 insertions, 0 deletions
diff --git a/odb/mysql/inline.cxx b/odb/mysql/inline.cxx
index 19b1b41..0924077 100644
--- a/odb/mysql/inline.cxx
+++ b/odb/mysql/inline.cxx
@@ -45,6 +45,28 @@ namespace mysql
<< "//" << endl
<< endl;
+ // query_type
+ //
+ os << "inline" << endl
+ << traits << "::query_type::" << endl
+ << "query_type ()"
+ << "{"
+ << "}";
+
+ os << "inline" << endl
+ << traits << "::query_type::" << endl
+ << "query_type (const std::string& q)" << endl
+ << " : query_base_type (q)"
+ << "{"
+ << "}";
+
+ os << "inline" << endl
+ << traits << "::query_type::" << endl
+ << "query_type (const query_base_type& q)" << endl
+ << " : query_base_type (q)"
+ << "{"
+ << "}";
+
// id ()
//
os << "inline" << endl