Cloudflare D1 throws SQLITE_ERROR when a single prepared statement binds more than 100 parameters
Dynamic SELECT ... WHERE id IN (?, ?, ...) or multi-row INSERT INTO tbl VALUES (?, ?, ?), ... queries that pass local SQLite tests fail in Cloudflare D1 as soon as the bound parameter count crosses 100: Standard SQLite compiles with SQLITEMAXVARIABLENUMBER = 32766, whereas…
D1_ERROR: too many SQL variables+2 more