Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
想要更新表中行的数据。
我有表的 ID,我需要为其设置另一个值。
我有文本字段,我需要添加/更新写入文本字段的值。
我正在使用 upgap sqlite 。
tx.executeSql('UPDATE CaseTable SET CaseName = "' + caseName + '",CaseDate = "' + caseDate + '",TextArea = "' + caseTextArea + '" WHERE id = ' + ROW_ID);