Error: string or blob too big: SQLITE_TOOBIG
By default, SQLite has a maximum string length (
SQLITE_MAX_LENGTH
) of a gigabyte, adjustable to around 2GB (docs). I ran in to the following error while adding a row of length 2,288,921 to the new in-durable-object SQLite DB:
Was this limit intentionally set to 1/500 of the default value? Is there a way of raising it?1 Reply
https://github.com/cloudflare/workerd/blob/main/src/workerd/util/sqlite.c%2B%2B#L1037
so yes, it is and it's actually higher than the sqlite team recommend