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:
parent
928b5839e1
commit
f9fbf02af0
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user