My sqlite table already is pre populated with Data using CoreData in another application. I want to read the Date from rows but it only gives a Binding number which I cannot convert to Swift Date. Any help will be appreciated
for row = try db.prepare("SELECT bookingDate FROM Bookings) {
let bookingDate = rows[0]
}
My sqlite table already is pre populated with Data using CoreData in another application. I want to read the Date from rows but it only gives a Binding number which I cannot convert to Swift Date. Any help will be appreciated
for row = try db.prepare("SELECT bookingDate FROM Bookings) { let bookingDate = rows[0] }