fmdb icon indicating copy to clipboard operation
fmdb copied to clipboard

unexpected result in ios 10 & ios 11

Open MahipalV12 opened this issue 6 years ago • 0 comments

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).

MahipalV12 avatar May 15 '18 06:05 MahipalV12