ソースを参照

Update README

Fix typo for consistency's sake.
Robert M. Ryan 10 年 前
コミット
7d504e5d60
1 ファイル変更1 行追加1 行削除
  1. 1 1
      README.markdown

+ 1 - 1
README.markdown

@@ -169,7 +169,7 @@ NSString *name = @"Liam O'Flaherty (\"the famous Irish author\")";
 NSDate *date = [NSDate date];
 NSString *comment = nil;
 
-BOOL success = [db executeUpdate:@"INSERT INTO myTable (identifier, name, date, comment) VALUES (?, ?, ?, ?)", @(identifier), name, date, comment ?: [NSNull null]];
+BOOL success = [db executeUpdate:@"INSERT INTO authors (identifier, name, date, comment) VALUES (?, ?, ?, ?)", @(identifier), name, date, comment ?: [NSNull null]];
 if (!success) {
     NSLog(@"error = %@", [db lastErrorMessage]);
 }