I would probably do ```js const ps = c.env.DB.prepare(`INSERT INTO optionValues (optionId, valueName

I would probably do
const ps = c.env.DB.prepare(`INSERT INTO optionValues (optionId, valueName) VALUES (?, ?)`);
const queries = [];
for(const row of rows) {
  queries.push(ps.bind(...row));
}
await c.env.DB.batch(queries);
Was this page helpful?