Skip to content

Preparing an sql statement

ziminji edited this page Oct 23, 2011 · 1 revision

SQL statements can also be constructed by preparing the statement. In short, a question mark will be replaced by its associated value.

NSString *statement = [ZIMSqlPreparedStatement preparedStatement: @"SELECT * FROM Customer WHERE name = ?;" withValues: @"Ziminji", nil];
Clone this wiki locally