diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-13 13:44:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-13 13:44:00 +0200 |
commit | ead623bfdd2004988f13d7cade7deaea1b71f7e8 (patch) | |
tree | 084c13c08b362d5bc511683316cb51e2eb379e6a /odb/mysql/inline.cxx | |
parent | 8100d903ef92d2ab3c789317fd1f187089ece8a7 (diff) |
Add support for language-embedded queries
Diffstat (limited to 'odb/mysql/inline.cxx')
-rw-r--r-- | odb/mysql/inline.cxx | 22 |
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 |