|
|
@@ -109,7 +109,7 @@ Alternatively, you may use named parameters syntax:
|
|
|
The parameters *must* start with a colon. SQLite itself supports other characters, but internally the Dictionary keys are prefixed with a colon, do **not** include the colon in your dictionary keys.
|
|
|
|
|
|
NSDictionary *argsDict = [NSDictionary dictionaryWithObjectsAndKeys:@"My Name", @"name", nil];
|
|
|
- [db executeUpdate:@"INSERT INTO myTable (name) VALUES (:name)" withArgumentsInDictionary:argsDict];
|
|
|
+ [db executeUpdate:@"INSERT INTO myTable (name) VALUES (:name)" withParameterDictionary:argsDict];
|
|
|
|
|
|
Thus, you SHOULD NOT do this (or anything like this):
|
|
|
|