  | | | parameters problem | parameters problem 2007-07-16 - By roberto previdi
Back 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@(protected)> To: MySQL++ Mailing List <plusplus@(protected)> 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:
http://tangentsoft.net/mysql++/doc/html/userman/breakages.html#id2912942
-- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=hariseldon78@(protected)
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______ __ __ Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/
-- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=mysql@(protected)
|
|
 |