Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
PARSE_DECLTYPES does not work for generated fields. sqlite3_column_decltype() just returns NULL. PARSE_COLNAMES works only when the column name contains the column type in square brackets. For generated fields sqlite3_column_name() returns the expression used to evaluate it, e.g. "max(d)". It does not contain needed information. So we cannot do anything with this because SQLite just does not provide information needed to determine the type. It would be worth to document this limitation. ---------- nosy: +berker.peksag, serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41724> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com