mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
TODO: more Cursor methods so that it looks more like a sequence
This commit is contained in:
1 parent
2e73199153
commit
617f0c8c17
1 file changed
+6
-2
@@ -1,5 +1,9 @@
|
||||
- [ ] DatabaseCursor: Consider having Cursor.map et al return Cursor as well, so that we don't lose the memory efficiency of this type
|
||||
- [ ] DatabaseCursor/FetchedRecordsController: handle fetch errors
|
||||
- [ ] Cursor.first(where:)
|
||||
- [ ] Cursor.contains(where:)
|
||||
- [ ] Cursor.contains(_:)
|
||||
- [ ] Cursor.joined()
|
||||
- [ ] Cursor.joined(separator:)
|
||||
- [ ] FetchedRecordsController: handle fetch errors
|
||||
- [ ] Swift 3.0.2 (Xcode 8.2): "Type inference will properly unwrap optionals when used with generics and implicitly-unwrapped optionals." Maybe this fixes `row.value(named: "foo") as? Int`?
|
||||
- [ ] Refactor Database notion of transaction/savepoints into a single type. Support INSERT OR ROLLBACK.
|
||||
- Since some statements may implicitly rollback transactions, we can not rely on explicit rollback statements to infer the transaction state. We can only rely on sqlite3_rollback_hook, assuming it is called even for implicit rollbacks (test with an INSERT OR ROLLBACK statement).
|
||||
|
||||
Reference in new issue
Block a user