Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.4
-
678ab52ccba0b6a6903e9aee404dbe84fb74c91d a570ad0ced6f91eb878f90df2731ceba8f8cfe9f
Description
QSqlField: When checking the field type for an aggregated column then it should give the right corresponding data type for the column. For example, with this query:
SELECT SUM(id) FROM testtable
Where id is an integer datatype field, then resulting datatype in the result set should be integer too, but with SQLite it defaults to String instead.