wcdb icon indicating copy to clipboard operation
wcdb copied to clipboard

多表联查

Open colaicode opened this issue 9 years ago • 8 comments

使用prepareSelectMultiObjectsOnResults进行多表联查,得到的结果为空。但是运行通过WCTStatistics打印的sql,却可以得到正确的结果

colaicode avatar Sep 05 '17 09:09 colaicode

尝试更新到最新的master分支后再试试,可能是之前的一个bug

RingoD avatar Sep 05 '17 10:09 RingoD

我是通过cocoapods安装,最新版本是1.0.2。但是我发现cocoapods安装的SDK与clone编译后的SDK不一样,是不是cocoapods没有更新呢

colaicode avatar Sep 06 '17 01:09 colaicode

cocoapods是同步更新的,请清理你的缓存后再试。 参考常见问题:https://github.com/Tencent/wcdb/wiki/常见问题#cocoapods无法搜到wcdb或搜到的版本不是最新的

RingoD avatar Sep 06 '17 01:09 RingoD

已经将SDK更新到1.0.3,还是有一样的问题

colaicode avatar Sep 06 '17 03:09 colaicode

RingoD commented 17 hours ago 尝试更新到最新的master分支后再试试,可能是之前的一个bug

RingoD avatar Sep 06 '17 03:09 RingoD

经过测试,使用cocoapods引进的SDK会有此问题,但是使用静态库的方式引进的SDK则不会有这个问题

colaicode avatar Sep 06 '17 05:09 colaicode

该问题在master分支修复后还未打tag,因此cocoapods要指定分支或指定commit后再试

RingoD avatar Sep 06 '17 07:09 RingoD

好的,解决问题的速度点赞

colaicode avatar Sep 07 '17 01:09 colaicode