我有一个单词表,我正在尝试搜索单词“Fine”并试图控制#category和#word我的查询是
NSString *query = [NSString
stringWithFormat:@"Select field1, field2, field3 FROM words WHERE field3 = '%@ '", @"Fine"];
FMResultSet *result =[db executeQuery:query];
while([result next])
{
NSLog(@"words %@ %@ " ,
[result stringForColumn:@"field1"],
[result stringForColumn:@"field2"]);
}
当我运行查询时没有显示和编译器不进入Body,如果有人得到错误然后发表评论...