[prev in list] [next in list] [prev in thread] [next in thread]
List: mysql-plusplus
Subject: Re: Template queries aren't working for me.
From: Warren Young <mysqlpp () etr-usa ! com>
Date: 2008-07-21 1:23:00
Message-ID: 161B44C2-7FD5-4B43-A71F-995F0DD8179C () etr-usa ! com
[Download RAW message or body]
On Jul 20, 2008, at 9:13 AM, Jim wrote:
> insertStr="insert into stock (item,
> num,weight,price, sdate,description) values ";
> insertStr+=" (%0q, %1, %2, %3, now(),%4q)";
> query << insertStr ;
Quoting from the user manual, section 4.1:
"To set up a template query...you call the parse() function to tell
the Query object that the query string is a template query..."
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsub=mysql-plusplus@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic