1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00

update qqt sql query

This commit is contained in:
tianduanrui 2018-01-19 16:56:16 +08:00
parent 928b5839e1
commit f9fbf02af0

View File

@ -102,7 +102,7 @@ bool QQtSqlQuery::insert ( const QString& table, const QStringList& names, const
for ( i = 0; i < count; i++ )
{
sql = sql + QString ( "'" ) + values.value ( i ) + QString ( "'" );
sql = sql + QString ( "'" ) + QString ( "%1" ).arg ( values.value ( i ) ) + QString ( "'" );
if ( i < count - 1 )
{