Dashboard › cli › WASM SQLite bind spread
01a08352-dbfa-70b2-a2bc-8d280e3b7267| Project | Hits | Last recalled |
|---|---|---|
| opencode-lore | 1 | 11h ago |
Trap: passing a bind-parameter array directly to WASM SQLite looks equivalent to spreading it because native drivers often accept arrays. Fix: always call WASM bind/execute methods with spread parameters and map undefined defensively to null, because node-sqlite3-wasm otherwise treats the array as one value or binds incorrectly.