WCDB v1.0.3 Release Notes
-
Repair Kit
- ๐ Fix INTEGER PRIMARY KEY columns not properly recovered.
๐ iOS/macOS
- โ Add
WCTColumnCoding
support for allWCTValue
. Developers can useid<WCTColumnCoding>
objects for WINQ and all interfaces. ```objc //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. ```objc //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.