内容简介:WCDB 1.0.4 已发布,WCDB 是腾讯开源的一个高效、完整、易用的移动数据库框架,基于 SQLCipher ,支持 iOS、macOS 和 Android 。 更新内容: Repair Kit Add sqliterk_cancel function to cancel ongoing ou...
WCDB 1.0.4 已发布,WCDB 是腾讯开源的一个高效、完整、易用的移动数据库框架,基于 SQLCipher ,支持 iOS、macOS 和 Android 。
更新内容:
Repair Kit
Add
sqliterk_cancelfunction to cancel ongoing output operations.Add corresponding Java interface to cancel operations on Android.
iOS
Builtin
WCTColumnCodingsupports allid<NSCoding>objects now.Compatible with iOS 11.
Fullfsyncis used by default for data integrity.Add
-initWithExistingTag:forWCTDatabaseto get existing database without path.
WCTDatabase* database = [WCTDatabase [alloc] initWithPath:path]; database.tag = 123; WCTDatabase* withoutPath = [[WCTDatabase alloc] initWithExistingTag:123];
Some minor bug fixes, performance improvement and code refactor.
Android
Add asynchronous checkpointing support and custom checkpointing callback. This can
improve performance in WAL mode.
SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabaseInWalMode(...);
// Use asynchronous checkpointing.
db.setAsyncCheckpointEnabled(true);
// OR use custom checkpointer.
SQLiteCheckpointListener callback = new SQLiteCheckpointListener() {
//...
};
db.setCheckpointCallback(callback);Add
SQLiteTrace.onConnectionObtained(...)interface to trace concurrency performance.Add cancelable version of
SQLiteDatabase.execSQL(). SeeCancellationSignalfor details.
CancellationSignal signal = new CancellationSignal(); db.execSQL(longRunningSQL, args, signal); // on another thread signal.cancel();
Enable
SQLITE_ENABLE_FTS3_PARENTHESIScompilation option on SQLCipher, which enablesAND,ORoperators in FTS3/4.Use
CancellationSignalfor cancelingBackupKit,RecoverKitandRepairKitoperations. See repair sample for details.Add callback interface for
RepairKitto show progress to the users. SeeRepairKit.CallbackandRepairKit.setCallback().Do not load
libwcdb.soif it's already loaded on the first use. This makes WCDB compatible to Tinker framework.Various bug fixes.
下载地址请查看发行列表
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上所述就是小编给大家介绍的《WCDB 1.0.4 发布,腾讯开源的移动数据库框架》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:- 开源 | Hippy:腾讯开源的跨端开发框架
- WeGeek | WePY 开源框架
- 开源 | vnpy:基于 Python 的开源量化交易平台开发框架
- 优秀开源框架的扩展机制实现
- 开源Botnet框架Byob分析
- 滴滴开源小程序框架 Mpx
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
《数据结构》算法实现及解析
高一凡 / 西安电子科技大学出版社 / 2002-10-1 / 35.0
《数据结构算法实现及解析》配有光盘,光盘中包括书中所有程序及用标准C语言改写的程序。所有程序均在计算机上运行通过。《数据结构算法实现及解析》适用于使用教科书的大中专学生和自学者。书中的基本操作函数也可供从事计算机工程与应用工作的科技人员参考和采用。一起来看看 《《数据结构》算法实现及解析》 这本书的介绍吧!
MD5 加密
MD5 加密工具
HEX CMYK 转换工具
HEX CMYK 互转工具