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
今天更新插件的时候升级到了1.3.2,发现数据库操作全都失效了。看了下楼主的提交更新才明白了又是之前那个''的问题。 针对这种 NSString *sqlString = @"SELECT * FROM ':tableName' WHERE conversationId = ':conversationId' ORDER BY messageTime DESC limit ':index',':count'"; 语法,前面带:冒号的参数都增加了'',查询OK了 但是 NSArray *recordList = [self.contactInfoTable findAllWithKeyName:@"shortName" value:shortName error:&error]; 这种查询又失效了,点进去看了一下,分类里面参数楼主没有加''
这里似乎又回到了1.3.0的缺少''语法问题
之前的问题 #37 就是这个问题 数据库我不熟,语法也不太懂,只是测试出来是这个问题,楼主看下
The text was updated successfully, but these errors were encountered:
我又问了下后台的同事,说是字符串类型的参数必须加''
Sorry, something went wrong.
No branches or pull requests
今天更新插件的时候升级到了1.3.2,发现数据库操作全都失效了。看了下楼主的提交更新才明白了又是之前那个''的问题。
针对这种 NSString *sqlString = @"SELECT * FROM ':tableName' WHERE conversationId = ':conversationId' ORDER BY messageTime DESC limit ':index',':count'";
语法,前面带:冒号的参数都增加了'',查询OK了
但是
NSArray *recordList = [self.contactInfoTable findAllWithKeyName:@"shortName" value:shortName error:&error];
这种查询又失效了,点进去看了一下,分类里面参数楼主没有加''
这里似乎又回到了1.3.0的缺少''语法问题
之前的问题 #37 就是这个问题
数据库我不熟,语法也不太懂,只是测试出来是这个问题,楼主看下
The text was updated successfully, but these errors were encountered: