I am using SQLite and am attempting to create a table with a custom id field that has autoIncrement set to true, however in some cases when I look at the database schema AUTOINCREMENT is not applied ...
const rawSql = INSERT INTO ${tableName} (${fieldsNames}) SELECT ${escapedValues.join(", ")} WHERE NOT EXISTS( SELECT * FROM ${tableName} WHERE id = '${id}' ) LIMIT 1 ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results