We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当model中含有pkid属性的时候,创建表的时候,生成sqlite语句的时候,因为pkid的时候continue了,生成的sqlite语句是错误的。后边没有括号")"。创建表失败。
int keyCount = 0; for (NSString *key in dic) { keyCount++; if ((nameArr && [nameArr containsObject:key]) || [key isEqualToString:@"pkid"]) { continue; } if (keyCount == dic.count) { [fieldStr appendFormat:@" %@ %@)", key, dic[key]]; break; } [fieldStr appendFormat:@" %@ %@,", key, dic[key]]; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当model中含有pkid属性的时候,创建表的时候,生成sqlite语句的时候,因为pkid的时候continue了,生成的sqlite语句是错误的。后边没有括号")"。创建表失败。
The text was updated successfully, but these errors were encountered: