1、无法创建复杂的表格,比如添加约束行为:create table if not exists stu(name integer not null, unqi)
2、无法进行复杂的查询,比如多表联查
3、解决方案:暴露完整的sql语句来执行
- 另外,可以考虑用点语法来封装,就像masonry那样。
1、无法创建复杂的表格,比如添加约束行为:create table if not exists stu(name integer not null, unqi)
2、无法进行复杂的查询,比如多表联查
3、解决方案:暴露完整的sql语句来执行
本文标题:Sqlite封装11 - 存在问题 - 优化方案
本文链接:https://www.haomeiwen.com/subject/zapmlxtx.html
网友评论