Gwendal Roué
|
5c44f55ef6
|
FetchedRecordsController: remove some crash opportunities by compiling the fetch request statement right from the initializer and the setRequest() method.
|
2016-11-30 13:27:51 +01:00 |
|
Gwendal Roué
|
6bcab179d1
|
Classify all try! and fatalError into TODO, Programmer Error, or GRDB bug that needs to be fixed.
|
2016-11-30 08:56:45 +01:00 |
|
Gwendal Roué
|
f495edfb3a
|
Improve Cursor test coverage
|
2016-11-29 21:11:12 +01:00 |
|
Gwendal Roué
|
a8e266377c
|
Documentation
|
2016-11-29 12:02:29 +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é
|
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é
|
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é
|
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é
|
195c201f87
|
#147: DatabasePool.read(_:) and DatabasePool.nonIsolatedRead(_:) can now throw database errors.
|
2016-11-26 23:44:14 +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é
|
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é
|
173a60eac6
|
bugfix
|
2016-11-26 10:23:36 +01:00 |
|
Gwendal Roué
|
8411efc8ef
|
#147: tests for RowConvertible.fetchCursor(_:keys:) methods
|
2016-11-26 10:19:56 +01:00 |
|
Gwendal Roué
|
af8fe35222
|
#147: tests for RowConvertible.fetchCursor() methods
|
2016-11-26 09:52:54 +01:00 |
|
Gwendal Roué
|
a0e5f64ddf
|
#147: tests for StatementColumnConvertible.fetchCursor() methods
|
2016-11-26 09:37:50 +01:00 |
|
Gwendal Roué
|
e5a9159282
|
#147: tests for DatabaseValueConvertible.fetchCursor() methods
|
2016-11-26 08:46:57 +01:00 |
|
Gwendal Roué
|
b31356aada
|
#147: Database.tableExists(_:) and Database.indexes(on:) can now throw database errors
|
2016-11-26 08:28:32 +01:00 |
|
Gwendal Roué
|
adc4ae48d6
|
Test DatabaseSequence<Row>.map
|
2016-11-25 08:11:26 +01:00 |
|
Gwendal Roué
|
a1b2c011f5
|
Performance tests against Realm v2.1.0 and Swift 3.0.1
|
2016-11-24 19:00:33 +01:00 |
|
Gwendal Roué
|
dcb995c626
|
Fix compiler warning
|
2016-11-10 08:32:23 +01:00 |
|
Gwendal Roué
|
311d40a9f1
|
Test that FetchedRecordsController.sections.count is 1 when there are no fetched records
|
2016-11-06 12:39:42 +01:00 |
|
Gwendal Roué
|
11aa9f7b79
|
Upgrade SQLite to v3.15.1
|
2016-11-05 14:05:23 +01:00 |
|
Gwendal Roué
|
7dfa4bcdb5
|
FetchedRecordsController: restore default record comparator
|
2016-10-29 10:49:32 +02:00 |
|
Gwendal Roué
|
df120ec4a3
|
FetchedRecordsController: default record comparator now compares rows
|
2016-10-29 07:25:56 +02:00 |
|
Gwendal Roué
|
6dfa6a3710
|
FetchedRecordsController.isSameRecord is an iOS-only tool
|
2016-10-28 19:42:02 +02:00 |
|
Gwendal Roué
|
2c3d7871ff
|
Merge branch 'master' of github.com:groue/GRDB.swift
|
2016-10-21 09:56:07 +02:00 |
|
Gwendal Roué
|
112f10a16d
|
Performance tests: Record initializer from FMDB resultsDictionary does not have to use NSNumber
|
2016-10-21 09:56:03 +02:00 |
|
Gwendal Roué
|
266f23d1e6
|
Update tests for CountableRange.contains(), add tests for 0.negated
|
2016-10-21 09:14:54 +02:00 |
|
Gwendal Roué
|
45fd6f89c0
|
Performance tests: fix warnings
|
2016-10-21 08:47:06 +02:00 |
|
Gwendal Roué
|
7a2837b6c9
|
Performance tests: Swift 3
|
2016-10-20 18:08:43 +02:00 |
|
Gwendal Roué
|
dc08805307
|
Performance tests: SQLite.swift 0.11.0
|
2016-10-20 18:07:39 +02:00 |
|
Gwendal Roué
|
2ffebb9c0b
|
Performance tests: Realm v2.0.2
|
2016-10-20 18:01:13 +02:00 |
|
Gwendal Roué
|
430ef5d1a6
|
Hide FetchedRecordsControlleriOSTests behind #if os(iOS)
|
2016-10-17 20:27:24 +02:00 |
|
Gwendal Roué
|
2acfbcdce6
|
Failing test for compareRecordsByPrimaryKey option of FetchedRecordsController when record has no primary key
|
2016-10-17 20:16:31 +02:00 |
|
Gwendal Roué
|
825db1158c
|
Add failing test for virtual table module that throws in its database(_:didCreate:using:)
|
2016-10-17 19:21:57 +02:00 |
|
Gwendal Roué
|
f5bbc43c87
|
Add a test for FetchedRecordsController request modification with uppercase table and column names
|
2016-10-17 14:00:32 +02:00 |
|
Gwendal Roué
|
34b7cda2ec
|
Fix failing test for FetchedRecordsController: when the request changes, we now do update the tracked tables and columns
|
2016-10-17 13:34:46 +02:00 |
|
Gwendal Roué
|
f2cd90a999
|
Failing test for FetchedRecordsController: when the request changes, we do not update the tracked tables and columns
|
2016-10-17 13:16:15 +02:00 |
|
Gwendal Roué
|
361eaeca07
|
Upgrade SQLiteCustom to v3.15.0
|
2016-10-16 10:59:28 +02:00 |
|
Gwendal Roué
|
12af387e50
|
FTS4: support for external content table synchronization
|
2016-10-16 09:52:58 +02:00 |
|