Gwendal Roué
|
f9bb3defde
|
Documentation
|
2016-11-29 22:34:12 +01:00 |
|
Gwendal Roué
|
6075a92905
|
Documentation
|
2016-11-29 22:14:45 +01:00 |
|
Gwendal Roué
|
f495edfb3a
|
Improve Cursor test coverage
|
2016-11-29 21:11:12 +01:00 |
|
Gwendal Roué
|
6af47fa6ee
|
CHANGELOG.md
|
2016-11-29 19:03:15 +01:00 |
|
Gwendal Roué
|
972789dba3
|
Replace Array(Type.fetchCursor()) with Type.fetchAll()
|
2016-11-29 19:02:58 +01:00 |
|
Gwendal Roué
|
cec1ed8d3d
|
IteratorCursor has public initializers. Add joined() method for cursors of sequences.
|
2016-11-29 19:02:10 +01:00 |
|
Gwendal Roué
|
374963167a
|
Documentation
|
2016-11-29 17:29:25 +01:00 |
|
Gwendal Roué
|
ccb5826a25
|
Documentation
|
2016-11-29 14:27:15 +01:00 |
|
Gwendal Roué
|
527aed0ea3
|
Documentation
|
2016-11-29 14:17:41 +01:00 |
|
Gwendal Roué
|
a8e266377c
|
Documentation
|
2016-11-29 12:02:29 +01:00 |
|
Gwendal Roué
|
de57dc9410
|
TODO: think about supporting Cursor's underestimatedCount
|
2016-11-29 08:49:58 +01:00 |
|
Gwendal Roué
|
617f0c8c17
|
TODO: more Cursor methods so that it looks more like a sequence
|
2016-11-29 08:47:34 +01:00 |
|
Gwendal Roué
|
2e73199153
|
Cleanup FlattenCursor
|
2016-11-29 08:41:13 +01:00 |
|
Gwendal Roué
|
5b0b674988
|
DatabaseStore: *really* expose initialization error (addresses https://github.com/groue/GRDB.swift/pull/148#issuecomment-263376526)
|
2016-11-29 08:21:43 +01:00 |
|
Gwendal Roué
|
d85a74570d
|
DatabaseStore: expose initialization error (addresses https://github.com/groue/GRDB.swift/pull/148#issuecomment-263376526)
|
2016-11-29 08:20:36 +01:00 |
|
Gwendal Roué
|
bb1f8aab24
|
Drop Cursor.lazy
|
2016-11-29 06:35:09 +01:00 |
|
Gwendal Roué
|
0c4fb36827
|
Add RowFetchTests
|
2016-11-28 20:48:38 +01:00 |
|
Gwendal Roué
|
ec2017ff72
|
Cursor.enumerated, filter, flatMap, map now return cursors. Cursor.lazy returns a lazy sequence. Introduce AnyCursor. Force Cursor types to be classes.
|
2016-11-28 20:34:53 +01:00 |
|
Gwendal Roué
|
f3cc0a07bc
|
Update sample playgrounds
|
2016-11-28 16:33:14 +01:00 |
|
Gwendal Roué
|
5e2dc95331
|
DatabaseValueConvertible.fetchOne(): avoid double DatabaseValue conversion
|
2016-11-28 08:46:57 +01:00 |
|
Gwendal Roué
|
ee99abc266
|
Replace fetchCursor().next() with fetchOne()
|
2016-11-28 08:41:59 +01:00 |
|
Gwendal Roué
|
cbf4ab797d
|
TODO.md
|
2016-11-28 08:35:24 +01:00 |
|
Gwendal Roué
|
bbe0bfadd9
|
#147: fetchCursor, fetchAll & fetchOne all throw sqlite3_prepare_v2 errors, sqlite3_step errors, and conversion errors (for DatabaseValueConvertible)
|
2016-11-27 20:13:58 +01:00 |
|
Gwendal Roué
|
35414e0afd
|
Update GRDBProfiling app
|
2016-11-27 19:29:50 +01:00 |
|
Gwendal Roué
|
90e99aac3b
|
TODO.md
|
2016-11-27 19:09:49 +01:00 |
|
Gwendal Roué
|
59506a97d6
|
Cleanup
|
2016-11-27 19:08:25 +01:00 |
|
Gwendal Roué
|
ebf9b0e4f1
|
Simplify tests for RowConvertible fetch requests
|
2016-11-27 18:44:54 +01:00 |
|
Gwendal Roué
|
b85a8b8b0b
|
#147: DatabaseValueConvertible.fetchOne() can throw conversion errors
|
2016-11-27 18:21:04 +01:00 |
|
Gwendal Roué
|
f8029a6dc9
|
Remove a couple try!
|
2016-11-27 15:38:36 +01:00 |
|
Gwendal Roué
|
95eb9afeef
|
Cleanup
|
2016-11-27 15:37:03 +01:00 |
|
Gwendal Roué
|
87024f0426
|
QueryInterfaceSelectQueryDefinition.makeDeleteStatement() throws
|
2016-11-27 15:26:23 +01:00 |
|
Gwendal Roué
|
09697f2593
|
DAO.init() throws DatabaseError instead of crashing whenever table does not exist, or database can't be accessed
|
2016-11-27 15:23:00 +01:00 |
|
Gwendal Roué
|
e99e9f3e40
|
Migration.runWithDisabledForeignKeys(): throw error from PRAGMA foreign_keys = ON
|
2016-11-27 15:18:25 +01:00 |
|
Gwendal Roué
|
b8c05e551d
|
Cleanup
|
2016-11-27 15:14:38 +01:00 |
|
Gwendal Roué
|
829eb7d3a2
|
SelectStatement.SelectionInfo cleanup
|
2016-11-27 15:12:08 +01:00 |
|
Gwendal Roué
|
268080cbc5
|
#147: FetchedRecordsController.performFetch() can now throw database errors; remove work around for SR-2623
|
2016-11-27 08:19:43 +01:00 |
|
Gwendal Roué
|
8d9d0dd826
|
DatabasePool.nonIsolatedRead(_:) can now throw on macOS, too
|
2016-11-27 06:26:50 +01:00 |
|
Gwendal Roué
|
195c201f87
|
#147: DatabasePool.read(_:) and DatabasePool.nonIsolatedRead(_:) can now throw database errors.
|
2016-11-26 23:44:14 +01:00 |
|
Gwendal Roué
|
ceb0fc4db9
|
TODO.md
|
2016-11-26 23:42:36 +01:00 |
|
Gwendal Roué
|
6121a9b48c
|
Remove dead code
|
2016-11-26 23:22:34 +01:00 |
|
Gwendal Roué
|
e3138154f1
|
Update performance tests
|
2016-11-26 23:18:53 +01:00 |
|
Gwendal Roué
|
ac6c7f6a35
|
#147: fetchAll() and fetchOne() can now throw database errors.
|
2016-11-26 22:38:40 +01:00 |
|
Gwendal Roué
|
af6e31dcdf
|
#147: The fetch method have been removed, along with DatabaseSequence and DatabaseIterator.
|
2016-11-26 21:14:10 +01:00 |
|
Gwendal Roué
|
6f158e3382
|
TODO.md
|
2016-11-26 18:52:25 +01:00 |
|
Gwendal Roué
|
81504bba1e
|
#147: DatabaseCursor.flatMap()
|
2016-11-26 16:10:39 +01:00 |
|
Gwendal Roué
|
66bedf46a1
|
#147: DatabaseCursor.enumerated()
|
2016-11-26 15:19:40 +01:00 |
|
Gwendal Roué
|
a196ac03b1
|
#147: tests for DatabaseCursor.filter, forEach, map, reduce; dropped DatabaseCursor.enumerated since it can't be implemented yet
|
2016-11-26 14:39:09 +01:00 |
|
Gwendal Roué
|
ae1010166a
|
#147: record.exists(_:) can now throw a database error
|
2016-11-26 11:36:07 +01:00 |
|
Gwendal Roué
|
a548212f27
|
#147: tests for QueryInterfaceRequest.fetchCursor(_:) and (RowConvertible & TableMapping).fetchCursor(_:)
|
2016-11-26 11:20:35 +01:00 |
|
Gwendal Roué
|
1aeb6d0d9e
|
bugfix
|
2016-11-26 11:13:36 +01:00 |
|