Author: wyoung
Date: Fri Jul 13 02:06:13 2007
New Revision: 1681
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1681&view=rev
Log:
Renamed Query::def to Query::template_defaults in resetdb example
Modified:
trunk/examples/resetdb.cpp
Modified: trunk/examples/resetdb.cpp
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/examples/resetdb.cpp?rev=1681&r1=1680&r2=1681&view=diff
==============================================================================
--- trunk/examples/resetdb.cpp (original)
+++ trunk/examples/resetdb.cpp Fri Jul 13 02:06:13 2007
@@ -128,8 +128,8 @@
query << "insert into %5:table values (%0q, %1q, %2, %3, %4q)";
query.parse();
- // Set the template query parameter "table" to "stock".
- query.def["table"] = "stock";
+ // Set a default for template query parameter "table".
+ query.template_defaults["table"] = "stock";
// Notice that we don't give a sixth parameter in these calls,
// so the default value of "stock" is used. Also notice that
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits