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

Data type casting

Open krunal545 opened this issue 2 years ago • 0 comments

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.

krunal545 avatar Jan 27 '22 10:01 krunal545