On Dec 11, 2008, at 4:23 PM, r ottmanj wrote:
> is there another way to do it with mysql++
http://tangentsoft.net/mysql++/doc/html/userman/tutorial.html#qescape
> insStr = insStr + "," + column
C++ is not one of the languages where concatenating strings like this
works very well. It *can* work, but due to the limitations of a
static type system, it's often more trouble than it's worth. Better
to use IOstream objects like ostringstream and mysqlpp::Query.
| Thread |
|---|
| • Escaping queries | r ottmanj | 12 Dec |
| • Re: Escaping queries | Warren Young | 12 Dec |