ios - SQLite syntax error with Encrypted-Core-Data -
ios - SQLite syntax error with Encrypted-Core-Data -
i've been running syntax error long time , unsure causing it. debug log follows:
sql debug: select ecdimages.checksum, ecdimages.creationdate, ecdimages.filename, ecdimages.height, ecdimages.latitude, ecdimages.locationstring, ecdimages.longitude, ecdimages.order, ecdimages.photoid, ecdimages.photologvalues, ecdimages.requiresdeletion, ecdimages.requiresupload, ecdimages.rotationangle, ecdimages.scale, ecdimages.source, ecdimages.timestamp, ecdimages.title, ecdimages.transform, ecdimages.width, ecdimages.x, ecdimages.y, ecdimages.book__objectid, ecdimages.page__objectid ecdimages ecdimages.__objectid=?; not prepare statement: near "order": syntax error
order of type integer 16 , reference, using encrypted-core-data found on github. thoughts?
as pointed out cl in comments, using reserved keyword. refer sqlite keywords.
ios objective-c sqlite core-data encrypted-core-data-sql
Comments
Post a Comment