I an tasked with porting and Android app I built some months ago over to iOS.
Now, I have also worked with SQLite in iOS in the past. However, I remember it being a lot more work than the Android equivalent. Especially in relation to querying.
In Android I was able to perform a query using the following command (see below), where db is an instance of SQLite, dbName() is a method that returns the name of the DB, getFieldNames() returns a array of field name Strings and where contains the where clause.
Cursor result = db.query(dbName(), getDBFieldNames() , where,null,null,null,null);
I want to use such a nice and clean db.query command in the iOS version of SQLite3. However, does it (or something like it) exist, because I can't find it?