Merge branch 'master' of github.com:groue/GRDB.swift into Swift3

Conflicts:
	README.md
This commit is contained in:
Gwendal Roué committed 2016-08-19 09:01:59 +02:00
commit d7e2df5ca9
2 files changed
+3 -3

No files matched your search

+2 -3
View File
@@ -1045,9 +1045,8 @@ row.value(atIndex: 0) as Grape? // fatal error: could not convert "syrah" to Gr
row.value(atIndex: 0) as Grape // fatal error: could not convert "syrah" to Grape.
let dbv = row.databaseValue(atIndex: 0)
dbv.value() as String // "syrah"
dbv.value() as Grape? // fatal error: could not convert "syrah" to Grape.
Grape.fromDatabaseValue(dbv) // nil
String.fromDatabaseValue(dbv) // "Syrah"
Grape.fromDatabaseValue(dbv) // nil
```
+1
View File
@@ -8,6 +8,7 @@
- [ ] @hdlj: Extensibility of the Query Interface
- [ ] @hdlj: FetchedRecordsController throttling
- [ ] @hdlj: Check RAM pressure
- [ ] DatabasePool: attempt to read from the database in DatabasePool.init(). Don't crash, but throw eventual error instead. (Related issue: https://github.com/groue/GRDB.swift/issues/99)
- [ ] Test Row(SQLColumn)
- [ ] Persistable partial update: allow models whose persistentDictionary only contains a subset of table columns (and count of default value)
- [ ] What is the behavior inTransaction and inSavepoint behaviors in case of commit error? Code looks like we do not rollback, leaving the app in a weird state (out of Swift transaction block with a SQLite transaction that may still be opened).