SQLite.swift
SQLite.swift copied to clipboard
Data type casting
I have a column in the table which contain both Double
and Int
value. So when I read the data with Int
or Double
type it threw me an error.
(vl[Expression<Double>("obal")]) as? Int
Can someone please guide how can I fetch the data with Double
and Int
type.