Skip to content
New issue

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

sql语句中会出现单引号错误 #14

Open
fengyunjue opened this issue Nov 23, 2015 · 0 comments
Open

sql语句中会出现单引号错误 #14

fengyunjue opened this issue Nov 23, 2015 · 0 comments

Comments

@fengyunjue
Copy link

sql语句中会出现单引号错误

@"INSERT INTO KFChatMessage (messageFor,messageType,messageBody,messageTime,list,hostID,pModel,pid) VALUES (0,0,'I'm ','','321,654,987',1448271114,'',0);"

NSObject的NSString属性里有可能出现例如:I'm这种字符串,会造成插入和更新数据失败

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant