Sql sqls = Sqls.create("insert into apk_info(url) values(aa.apk?a=1)");System.out.println(sqls.toString());结果:insert into apk_info(url) values(aa.apka=1)
问号没了
。。。 这sql能跑?
url是什么类型?
Sql sqls = Sqls.create("insert into apk_info(url) values('aa.apk?a=1')"); System.out.println(sqls.toString());
输出结果:insert into apk_info(url) values('aa.apka=1')
Sql sqls = Sqls.create("insert into apk_info(url) values(@url)"); sqls.params().set("url","aa.apk?a=1");