Loop over a products array and run tx.executeSql(...) once per row—all inside a single db.transaction().
products
tx.executeSql(...)
db.transaction()
Follow the steps in order.
Lines: 0 | Characters: 0