Commit Graph
684 Commits
Author SHA1 Message Date
Gwendal Roué c36be55c2f FetchedRecordsController error handling WIP 2016-12-16 09:09:50 +01:00
Gwendal Roué 5355555568 Typo 2016-12-16 07:42:34 +01:00
Gwendal Roué 3e01bca690 Documentation 2016-12-16 05:25:18 +01:00
Gwendal Roué 44cefc89e4 Documentation for StatementArguments.append(contentsOf:) and operators +, &+, += 2016-12-16 05:02:27 +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é d4c7b41897 StatementArguments.append(contentsOf:) returns the updated values; operators +, &+, += 2016-12-15 21:39:28 +01:00
Gwendal Roué 0ecf6b5aa1 Drop StatementArguments + StatementArguments (because it allows [1, 2] + ["foo": 1] to compile) 2016-12-15 17:50:56 +01:00
Gwendal Roué cb51c03992 StatementArguments + StatementArguments 2016-12-15 17:47:01 +01:00
Gwendal Roué 5dca5fe3cb StatementArguments.append(contentsOf:) refuses to update named arguments 2016-12-15 17:38:33 +01:00
Gwendal Roué a7acd50159 StatementArguments.append(contentsOf:) 2016-12-15 17:26:23 +01:00
Gwendal Roué cc89c994c8 Remove useless self. 2016-12-15 08:13:33 +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é b32984b1d6 Document improved error handling of DatabasePool.readFromCurrentState() and support for raw BEGIN/COMMIT/ROLLBACK transaction statements 2016-12-15 05:11:25 +01:00
Gwendal Roué 7e2fd9e690 DatabasePool.readFromCurrentState throws if it can't acquire an isolated database access 2016-12-15 04:57:31 +01:00
Gwendal Roué a96dac8205 Now that we support free BEGIN/COMMIT transaction statements, DatabaesPool.readFromCurrentState will be able to handle read errors 2016-12-15 04:00:00 +01:00
Gwendal Roué e44bd4684b Fix SerializedDatabase crash when database is deallocated in its own queue 2016-12-15 03:57:46 +01:00
Gwendal Roué 115158a70e Cleanup 2016-12-14 20:19:10 +01:00
Gwendal Roué 63577feca4 Documentation 2016-12-14 18:49:11 +01:00
Gwendal Roué 567e6f1d82 TODO 2016-12-14 12:55:22 +01:00
Gwendal Roué 2b9b8ce536 Cleanup 2016-12-14 12:53:11 +01:00
Gwendal Roué a0f4cb9271 Fix failing tests for TransactionObserver 2016-12-14 12:49:33 +01:00
Gwendal Roué 46f24c582c Fix failing tests for Database.isInsideTransaction 2016-12-14 08:59:57 +01:00
Gwendal Roué a0d9b9fbe8 Support for free BEGIN/COMMIT/ROLLBACK statements 2016-12-14 08:07:42 +01:00
Gwendal Roué 2190e449c1 Documentation fix 2016-12-13 09:13:46 +01:00
Gwendal Roué a68ed01003 Documentation 2016-12-12 08:38:03 +01:00
Gwendal Roué 18664b7e7e Documentation 2016-12-12 08:13:31 +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é 2f2dc86c9d Documentation 2016-12-08 17:20:32 +01:00
Gwendal Roué bfb2ff9390 Documentation 2016-12-08 16:02:35 +01:00
Gwendal Roué cbd14c4b8c Documentation 2016-12-08 14:03:22 +01:00
Gwendal Roué cb08660a78 Rename FetchRequest -> Request 2016-12-08 13:56:05 +01:00
Gwendal Roué cc1df37725 Documentation 2016-12-08 08:50:00 +01:00
Gwendal Roué 07aecd3a95 Fix failing tests of TypedFetchRequest 2016-12-08 08:43:58 +01:00
Gwendal Roué 9e634196bf Public SQLFetchRequest initializer 2016-12-08 07:48:28 +01:00
Gwendal Roué bab56b4c9d Documentation 2016-12-08 06:46:39 +01:00
Gwendal Roué 970da50910 Expose SQLFetchRequest, and cleanup 2016-12-07 23:20:58 +01:00
Gwendal Roué 0008e4b645 FetchedRecordsController's ObservedRequest adopts TypedFetchRequest 2016-12-07 22:39:53 +01:00
Gwendal Roué 89e7a62d99 Introduce AnyFetchRequest, TypedFetchRequest, AnyTypedFetchRequest 2016-12-07 22:21:19 +01:00
Gwendal Roué 74e89c542a Cleanup 2016-12-07 18:45:14 +01:00
Gwendal Roué 8c440961c5 Database.columnCount(in:) 2016-12-07 10:10:59 +01:00
Gwendal Roué 255e12849e Fix failing test for change tracking of wrapped Record 2016-12-07 08:46:02 +01:00
Gwendal Roué 93d9516a07 Minor 2016-12-04 15:42:31 +01:00
Gwendal Roué 261eb19fea Documentation 2016-12-04 06:51:14 +01:00
Gwendal Roué 28221e398e Documentation 2016-12-02 14:23:17 +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é b58a4e90da WIP DatabaseWriter/DatabaseReader improvements 2016-12-01 18:13:00 +01:00