如何为SQLite多插入行准备PRAGMA查询

时间:2017-11-02 02:45:19

标签: sqlite typescript ionic2 ionic3

哪一个是正确的?

let data = [a,b,c,d,e,f,g,h,i,j,k,l];
this.database.executeSql("INSERT INTO Table (a, b, c, d)
 VALUES (?, ?, ?, ?),
 (?, ?, ?, ?),
 (?, ?, ?, ?),"
, data);

{{1}}

0 个答案:

没有答案