mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
Merge branch 'master' into RowAdapter
This commit is contained in:
commit
ade05d5d1b
2 files changed
+2
-4
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user