I have the following SQLite code. How do I insert an auto generating unique ID into each row?
tx.executeSql(\'DROP TABLE IF EXISTS ENTRIES\'); tx.exe
for the INSERT, better provide a "null" value for the corresponding autoincrement value's question mark placeholder.
tx.executeSql('INSERT INTO ENTRIES (id, data) VALUES (?, ?)', [null, "First row"]);