Browse files

Fixed a little bug in the docs.

  • Loading branch information...
1 parent 0cfca84 commit ba22f34b1132f9b6d48eb534d30d51aae13e35a3 @ccgus committed Feb 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.markdown
@@ -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):

0 comments on commit ba22f34

Please sign in to comment.