On Thu, 17 Nov 2022, at 13:19, 'Jeremy Whetzel' via python-sqlite wrote:
> I'm trying to use generate_series() to build a table of integers. In
> SQLite, this works:
It is included in the SQLite shell, but is not part of SQLite itself.
> In apsw, it gives an error that there's no such table called generate_series:
... which is why you won't see it using anything except the SQLite shell.
> something, or if generate_series() actually isn't supported. If it's
> not supported, I'd like to request support for it, please.
https://github.com/rogerbinns/apsw/issues/380
It would need be defined in Python code, and would also make a good example.
In the mean time you can use a recursive expression. See
https://www.sqlite.com/series.html
Roger