Getting this error and don't understand why.
This line below works. Note that both settingVersion and settingRelease are Strings:
let isInserted = sharedInstance.database!.executeUpdate(sqlStatement, withArgumentsInArray: [settingRecord.settingVersion, settingRecord.settingRelease)
But if I add an Int32 into the mix, where settingsTimesUsed is an Int32, I get the "_" is not convertible to Int32 error.
let isInserted = sharedInstance.database!.executeUpdate(sqlStatement, withArgumentsInArray: [settingRecord.settingVersion, settingRecord.settingRelease, settingRecord.settingTimesUsed])
I also get the same error if I make the final item completely explicit as an Int32, e.g.
let a = 1 as Int32
let isInserted = sharedInstance.database!.executeUpdate(sqlStatement, withArgumentsInArray: [settingRecord.settingVersion, settingRecord.settingRelease, a])
Any ideas.