Gwendal Roué
|
df15249f23
|
Tests for StatementArguments.append(contentsOf:) and operators +, &+, +=
|
2016-12-16 05:02:01 +01:00 |
|
Gwendal Roué
|
b737321cbd
|
Rows expressed as dictionary literals now preserve column ordering, and allow duplicated column names
|
2016-12-16 05:01:07 +01:00 |
|
Gwendal Roué
|
fc2689e207
|
Fix Pool.get when an error prevents a pool item from being created (counting semaphore wasn't signaled). This fixes DatabasePool.read when read connection can not be established. Tests.
|
2016-12-15 08:09:17 +01:00 |
|
Gwendal Roué
|
6afc2fd75a
|
Test that DatabasePool.read and readFromCurrentState open a transaction
|
2016-12-15 03:58:44 +01:00 |
|
Gwendal Roué
|
46f24c582c
|
Fix failing tests for Database.isInsideTransaction
|
2016-12-14 08:59:57 +01:00 |
|
Gwendal Roué
|
2068710a30
|
Failing test for Database.isInsideTransaction when transaction is implicitly rollbacked
|
2016-12-14 08:19:13 +01:00 |
|
Gwendal Roué
|
0568b5c6de
|
Tests for free BEGIN/COMMIT/ROLLBACK statements
|
2016-12-14 08:11:20 +01:00 |
|
Gwendal Roué
|
cb81e50f71
|
Request.adapted(_:)
|
2016-12-11 21:07:52 +01:00 |
|
Gwendal Roué
|
66daa2eb29
|
RangeRowAdapter(CountableClosedRange<Int>)
|
2016-12-09 09:54:25 +01:00 |
|
Gwendal Roué
|
f6513932b0
|
Documentation
|
2016-12-09 08:48:26 +01:00 |
|
Gwendal Roué
|
1d6671c11a
|
Introduce RangeRowAdapter
|
2016-12-08 19:07:11 +01:00 |
|
Gwendal Roué
|
cb08660a78
|
Rename FetchRequest -> Request
|
2016-12-08 13:56:05 +01:00 |
|
Gwendal Roué
|
0e2a96b402
|
Failing tests from TypedFetchRequest
|
2016-12-08 08:39:06 +01:00 |
|
Gwendal Roué
|
8c440961c5
|
Database.columnCount(in:)
|
2016-12-07 10:10:59 +01:00 |
|
Gwendal Roué
|
8f5d7da934
|
Documentation
|
2016-12-07 09:03:15 +01:00 |
|
Gwendal Roué
|
255e12849e
|
Fix failing test for change tracking of wrapped Record
|
2016-12-07 08:46:02 +01:00 |
|
Gwendal Roué
|
5c0fe81dcf
|
Failing test for change tracking of wrapped Record
|
2016-12-07 08:31:47 +01:00 |
|
Gwendal Roué
|
d157308306
|
Upgrade SQLite to v3.15.2
|
2016-12-04 07:35:54 +01:00 |
|
Gwendal Roué
|
67035b8422
|
Database.execute(_:) iterates all rows of statements
|
2016-12-02 08:28:24 +01:00 |
|
Gwendal Roué
|
b8d924ab6f
|
Restore DatabasePool in a stable state
|
2016-12-01 19:17:19 +01:00 |
|
Gwendal Roué
|
f781da41a4
|
WIP: the recent failing tests of DatabasePool.readFromCurrentState, a paramount brick of FetchedRecordsController, have led to a refactoring of the DatabaseWriter protocol, and DatabasePool.write { ... } always executing a transaction.
|
2016-12-01 14:12:20 +01:00 |
|
Gwendal Roué
|
019363e56b
|
Failing tests for DatabasePool.read
|
2016-12-01 10:44:18 +01:00 |
|
Gwendal Roué
|
d801f1f5fb
|
Failing test for DatabasePool.readFromCurrentState
|
2016-12-01 08:56:04 +01:00 |
|
Gwendal Roué
|
263adb157c
|
Update tests for SQLCipher
|
2016-11-30 19:34:09 +01:00 |
|
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 |
|