Inserting new items to the table works perfectly, updating however has no effect.
I am using the following statement to update my db.
BOOL success = [fmDB executeUpdate:@"UPDATE activities SET type = ?, author = '?',
time = '?', location = '?', node = '?', nodeID = ?
WHERE itemid = ?", [NSNumber numberWithInt:itemType], author,
time, location, node, [NSNumber numberWithInt:nodeID],
[NSNumber numberWithInt:itemID], nil];
Everything that hasn't been wrapped as an NSNumber is an NSString (which all log out as expected).
I receive 0 errors when the command is run (the success bool returns TRUE)
The next time I read my db, the changes have not been made.
Any ideas?