[Qt-interest] QSqlQuery and escaping

Jeffery MacEachern j.maceachern at gmail.com
Thu Dec 2 06:44:53 CET 2010


In this[0] documentation page, under the placeholder/binding section, it states

"Besides performance, one advantage of placeholders is that you can
easily specify arbitrary values without having to worry about escaping
special characters."

Am I understanding correctly that it will automagically take care of
proper escaping without any additional code?  Are there any details on
how this is handled?

Thanks,
 - Jeffery MacEachern

[0]: http://doc.qt.nokia.com/4.7/sql-sqlstatements.html




More information about the Qt-interest-old mailing list