v1.0.3
版本发布时间: 2017-07-25 09:56:02
Tencent/wcdb最新发布版本:v2.1.7(2024-08-18 21:23:56)
Repair Kit
- Fix INTEGER PRIMARY KEY columns not properly recovered.
iOS
- Add
WCTColumnCoding
support for allWCTValue
. Developers can useid<WCTColumnCoding>
objects for WINQ and all interfaces.
//WINQ
NSDate *now = [NSDate date];
[database getObjectsOfClass:Message.class fromTable:tableName where:Message.modifedTime==now];
//Interfaces
[database updateAllRowsInTable:tableName
onProperty:Message.modifiedTime
withValue:[NSDate date]];
- Add monitor for all executed SQL to check WINQ correctness.
//SQL Execution Monitor
[WCTStatistics SetGlobalSQLTrace:^(NSString *sql) {
NSLog(@"SQL: %@", sql);
}];
- Update
WCTTableCoding
XCode file template for the best practice of isolating Objective C++ codes. See Wiki page for details. - Some minor bug fixes.
Android
- Add
CursorWindow.windowSize(int)
static method to set or get default size for cursor windows. -
SQLiteDatabase.dump()
reports IDs for all threads that hold database connections, to aid dead-lock debugging. - Fix crashing on devices fail to load ICU library.
- Fix
SQLiteTrace.onSQLExecuted(...)
reports negative execution time.
1、 wcdb-android-1.0.3-debug.aar 3.65MB
2、 wcdb-android-1.0.3-debugSymbols.zip 12.04MB
3、 wcdb-android-1.0.3-release.aar 3.8MB
4、 wcdb-android-1.0.3-symbols.zip 16.51MB
5、 wcdb-ios-1.0.3.zip 26.91MB