fmdb
fmdb copied to clipboard
unexpected result in ios 10 & ios 11
Same Query, Same code but result is different in both ios 10 & ios 11
let resultSet: FMResultSet! = NIDBModelManager.getInstance().database!.executeQuery("SELECT * FROM \(NIDatabaseTableName.UPDATES_LIST_TBL) ORDER BY datetime(content_timestamp_created) DESC LIMIT 10", withArgumentsIn: [])
the above query working fine and sort data order by datetime in iOS 10
But not working in iOS 11... ORDER BY With DESC is not working the resultset Fetch all the record using limit without filter (ORDER BY & DESC).