WCDB 1.0.5 已发布,WCDB 是腾讯开源的一个高效、完整、易用的移动数据库框架,基于 SQLCipher ,支持 iOS、macOS 和 Android 。
更新内容:
iOS
内置 ORM 全文搜索支持。[code]WCTProperty *tableProperty = WCTSampleFTSData.PropertyNamed(tableNameFTS).match("Eng*")];
[databaseFTS getObjectsOfClass:WCTSampleFTSData.class fromTable:tableNameFTS where:tableProperty.match("Eng*")];[/code]支持 read-only 数据库。
一些小 bug 修复和代码重构。
Android
优化异步检查点,大大提高 WAL 和异步检查点的写入性能。[code]SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabaseInWalMode(...);
db.setAsyncCheckpointEnabled(true);[/code]新增异步检查容错基准。
新增对连接池友好的接口 SQLiteDatabase.setSynchronousMode()以设置数据库同步模式。
编译时启用 dbstat 虚拟表。
软件详情:https://github.com/Tencent/wcdb/releases/tag/v1.0.5
下载地址:http://git.oschina.net/mirrors/wcdb
来自:开源中国社区

