const ids = [1,2,3] env.DB.prepare(`select * from table where id in (${ids.map(() => '?').join(', ')})`).bind(ids).all()
© 2026 Hedgehog Software, LLC
?
env.DB.prepare(`select * from table where id in (${ids.map(() => '?').join(', ')})`).bind(...ids).all()