0

我正在使用 FMDB 在 obj-c 中处理 sqlitedb,但每次我调用 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;
4

0 回答 0