Forráskód Böngészése

Update README

Fix typo for consistency's sake.
Robert M. Ryan 10 éve
szülő
commit
7d504e5d60
1 módosított fájl, 1 hozzáadás és 1 törlés
  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]);
 }