diff --git a/README.md b/README.md index 75a648691..003c9901d 100644 --- a/README.md +++ b/README.md @@ -379,11 +379,11 @@ config.readonly = true config.foreignKeysEnabled = true // The default is already true config.trace = { print($0) } // Prints all SQL statements config.fileAttributes = [NSFileProtectionKey: ...] // Configure database protection +condig.maximumReaderCount = 10 // The default is 5 let dbPool = try DatabasePool( path: "/path/to/database.sqlite", - configuration: config, - maximumReaderCount: 10) // The default is 5 + configuration: config) ``` See [Configuration](http://cocoadocs.org/docsets/GRDB.swift/0.66.0/Structs/Configuration.html) for more details. diff --git a/TODO.md b/TODO.md index 27589ec32..c99ff91d0 100644 --- a/TODO.md +++ b/TODO.md @@ -1,5 +1,3 @@ -- [ ] Record should not adopt CustomStringConvertible: https://github.com/groue/GRDB.swift/issues/58 -- [ ] maximumReaderCount in Configuration: update README - [ ] FetchedRecordsController: document that identity comparison is only required for table view events. - [ ] FetchedRecordsController: see if we can replace identity comparison function with a function that returns an Equatable value (beware the generics trouble). See if this can help optimize memory use, and use a sortedMerge() algorithm. - [ ] GRDBCipher: remove limitations on iOS or OS X versions