SQLite.swift icon indicating copy to clipboard operation
SQLite.swift copied to clipboard

NUMERIC type in sqlite and value is 2.0, but return Int64.

Open swanfly opened this issue 3 years ago • 0 comments

The data type of a column in the database is NUMERIC, and there is a row with a value of 2.0. After querying for row in try db.prepare ("SELECT * FROM xxx"), through 【row?[num] as! Double】cannot get the real value, finally we find your library return the wrong type of Int64.

swanfly avatar Jan 23 '23 00:01 swanfly