Author: wyoung
Date: Wed Jan 28 05:23:02 2009
New Revision: 2438
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2438&view=rev
Log:
Replaced Query::storein(Container&, SQLQueryParms&), an intermediate
method in the chain for handling template query storein() calls. Was
mistakenly removed in the 3.0 development process.
Modified:
trunk/lib/query.h
Modified: trunk/lib/query.h
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/query.h?rev=2438&r1=2437&r2=2438&view=diff
==============================================================================
--- trunk/lib/query.h (original)
+++ trunk/lib/query.h Wed Jan 28 05:23:02 2009
@@ -856,6 +856,18 @@
storein(con, str(template_defaults));
}
+ /// \brief Store template query results into a container
+ ///
+ /// This method is not intended to be used directly. It is part
+ /// of the call chain in processing calls to one of the many
+ /// storein() overloads that take a container and one or more
+ /// SQLTypeAdapter parameters.
+ template <class T>
+ void storein(T& con, SQLQueryParms& p)
+ {
+ storein(con, str(p));
+ }
+
/// \brief Specialization of storein_sequence() for \c std::vector
template <class T>
void storein(std::vector<T>& con, const SQLTypeAdapter& s)
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits