Problem
People using SQLite3 in production sometimes fall foul of SQLite's 999 variable limit. We've been thinking about how to refactor to cope with this, and we have a few bits and pieces in the codebase, but actually SQLite fixed it in their 3.32 version: https://www.sqlite.org/releaselog/3_32_0.html
Hopefully Node's SQLite project will come bundled with 3.32 by default soon as it's already in master.
Appetite: 0.5 day
Solution:
- We should remove all workarounds that we have for this in the codebase, they are code we don't need to maintain anymore.
E.g. 08f54d2
E.g. c701293
E.g. a29ac26
- We should maybe look at adding an error handler that catches the error and converts it to a nicely formatted Ghost error telling people to upgrade to SQLite 3.32 - but only if this can be done quickly and easily in one place.
SQLITE_ERROR: too many SQL variables
- Maybe mention this as a minimum requirement in our docs
Problem
People using SQLite3 in production sometimes fall foul of SQLite's 999 variable limit. We've been thinking about how to refactor to cope with this, and we have a few bits and pieces in the codebase, but actually SQLite fixed it in their 3.32 version: https://www.sqlite.org/releaselog/3_32_0.html
Hopefully Node's SQLite project will come bundled with 3.32 by default soon as it's already in master.
Appetite: 0.5 day
Solution:
E.g. 08f54d2
E.g. c701293
E.g. a29ac26