0

sqliteを使用して同じテーブルの複数の行を変更したいPhonegapを使用しています。私はこのコードを使用しますが、機能しません。

for (var i = 0; i < id_input_type_cotation.length ; i++)
    {
var sql ="UPDATE Selectionner  SET QuotationParDefaut = '?'  WHERE  (IdPrestation = '3') and (IdPhrase = "+id_input_type_cotation[i]+") ; ";

params = [ id_input_type_cotation[i] ];
tx_commenter.executeSql(sql, params);
console.log("I= "+i);

    }
4

0 に答える 0