An update to BaseTen, our open source Cocoa database framework, was released today. Here’s what’s new in DP3.1:
- The BaseTen Assistant now imports validation predicates (maximum/minimum values, string lengths and regexp validation patterns)
- There are likely to be bugs and compatibility issues with the Core Data ICU-based regexp validation patterns and the POSIX ones understood by PostgreSQL — caveat emptor.
- You can now perform custom SQL queries with two new convenience methods in the database context. The executeQuery:error: method returns the query result as an NSArray of NSDictionaries, while the executeCommand:error: returns the number of affected rows.
- The database context now implements a Core Data -like setRetainsRegisteredObjects: method.
- The full accuracy of timestamp columns (timestamp(6), microsecond precision) is now supported. Previously, sub-millisecond digits were discarded in conversions.
- A number of bugs in DP3 have been fixed for DP3.1. We thank you for all the bug reports and patches.
- Stay tuned for BaseTen for Workgroups DP3.11.
Leave a comment