0

I am using FMDB to procedd sqlitedb in obj-c , but it hangs everytime i call executeupdate

BOOL isSuccess = YES;

[self openFMDB];
NSString* currentDatetime = [self getCurrentDatetime];

isSuccess = [fmDB executeUpdate:@"UPDATE liquors_list SET l_last_open = ? WHERE l_id = ?",[NSString stringWithFormat:@"%@",currentDatetime],[NSString stringWithFormat:@"%@",liquorID],Nil];

return isSuccess;
Kara
  • 6,115
  • 16
  • 50
  • 57
Popoyo
  • 213
  • 1
  • 2
  • 5

0 Answers0