ZXDataHandle icon indicating copy to clipboard operation
ZXDataHandle copied to clipboard

我使用中发现如果文本中带有单引号,会导致保存sql失败

Open fengyunjue opened this issue 1 year ago • 1 comments

-(void)test11{
    Apple *apple = [[Apple alloc]init];
    apple.name = @"嘻哈苹果";
    apple.dec = @"\"很好吃哦\",'你好'";
    apple.soldMoney = 100;
    BOOL res = [apple zx_dbSave];
    NSLog(@"结果--%i",res);
}
image

fengyunjue avatar Mar 01 '23 02:03 fengyunjue