Hi all. I admit that i am one of the query.def abusers :)
I know that i must change my code putting the parameters' values in the store or use or
execute call. The problem is that my query is dynamically generated, and when i call
store i don't statically know how many parameters are in the query. I would need
something like putting all the (parameter,value) couples in a vector or some dynamic
structure and pass it to the query object..
In alternative i will need to implement a dynamic parameter substitution and use it on the
sql string before to passing it to the Query object. In this case, i ask, is there a way
to use the mysqlpp param. substitution internal routines?
thank you for any advice
----- Original Message ----
From: Warren Young <mysqlpp@stripped>
To: MySQL++ Mailing List <plusplus@stripped>
Sent: Monday, July 16, 2007 1:55:04 PM
Subject: Re: Weird parsing of templated query
Steven Van Ingelgem wrote:
> I am trying to figure out why the following is happening:
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsub=1
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.