SQLite.swift
SQLite.swift copied to clipboard
NUMERIC type in sqlite and value is 2.0, but return Int64.
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.