From 0b73275933a811c8fd4e9389fee5cac527c1b8e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 22 May 2016 19:38:49 +0200 Subject: [PATCH 1/2] maximumReaderCount documentation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b74394030..5c8abccba 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. From a8cebfe06cbf309b292e14500a06318123d2459b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 22 May 2016 19:38:54 +0200 Subject: [PATCH 2/2] TODO.md --- TODO.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/TODO.md b/TODO.md index 731b34fd0..516c239ed 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