I am reviewing code that makes the following call:
id<PLResultSet> results = [sqliteDatabase executeQuery:@"select * where id=?",Id];
sqliteDatabase is an instance of PlausibleDatabase (from GoogleCode, I gather). The code works, but I don't understand it. Specifically, how does this section work?
@"select * where id=?",Id
Is the query being made with ? being replaced by Id? Or is the exeuteQuery function somehow combining the strings? How does this syntax make sense.
(Yes, I am new to Obj-C)
Thanks,
KF