Gwendal Roué
836efb120f
Xcode 12.3 formatting
2020-12-23 12:13:05 +01:00
Gwendal Roué
b485d4d3dc
forSingleResult is no longer mandatory
2020-12-23 10:08:16 +01:00
Gwendal Roué
6abbf82a89
So long, visitor pattern!
2020-12-23 09:02:17 +01:00
Gwendal Roué
3c38aa1996
Functions, Collations, and tokenizers are no longer available on DatabaseQueue, Pool, and Snapshot
2020-09-06 13:18:58 +02:00
Gwendal Roué
886f75bbea
Configuration.prepareDatabase in now a method
2020-09-06 13:15:51 +02:00
Gwendal Roué
07092169bf
Documentation
2020-07-12 14:17:58 +02:00
Gwendal Roué
90f2642ec6
Make good use of the visitor pattern
2020-07-05 15:07:52 +02:00
Gwendal Roué
5f88a400d5
DatabasePool.checkpoint(_:) is unavailable
2020-06-07 17:07:31 +02:00
Gwendal Roué
30f619ca2c
Refactor database tracing
...
- Make it possible to log the database label along with the executed SQL
- Make it possible to avoid arguments expansion
- Make it possible to profile statements
2020-05-31 19:08:08 +02:00
Gwendal Roué
a5de2b9288
Breaking: AnyFetchRequest.asRequest(of:)
2020-05-30 10:30:07 +02:00
Gwendal Roué
e94be4a06e
Upgrade path for FetchRequest
2020-05-10 15:34:38 +02:00
Gwendal Roué
a77b195c7c
Reopen FetchRequest
2020-05-10 15:34:37 +02:00
Gwendal Roué
17e745f52b
SQLRequestProtocol, close FetchRequest
2020-05-10 15:34:37 +02:00
Gwendal Roué
76e0a9f6b6
AnyFetchRequest is now generic on RowDecoder
2020-05-08 16:43:02 +02:00
Gwendal Roué
321b6a3488
Fixits for renamed generic parameter
2020-04-30 19:37:02 +02:00
Gwendal Roué
443d44cc7a
Restore TableRecord.selectionSQL in the form of SQL interpolation
2020-04-30 19:33:33 +02:00
Gwendal Roué
9006c701b3
Replace the expectsSingleResult hint with an analysis of the query
2020-04-30 14:14:07 +02:00
Gwendal Roué
a15233eff1
SQLGenerationContext no longer needs to be mutated
2020-04-29 21:59:04 +02:00
Gwendal Roué
e47a584c3e
TableRecord.selectionSQL can no longer be implemented 🤷
2020-04-29 21:51:02 +02:00
Gwendal Roué
c82dbb35ad
SQLLiteral and SQLRequest no longer have sql and arguments properties
2020-04-29 13:52:29 +02:00
Gwendal Roué
8cb75dd814
Subqueries wip
2020-04-28 21:03:58 +02:00
Gwendal Roué
1b4e26f61c
Cleanup
2020-04-10 12:35:33 +02:00
Gwendal Roué
d988be49a6
Revert #748
2020-04-09 13:42:37 +02:00
Gwendal Roué
c778e1ac0c
Add fixits
2020-04-08 18:53:08 +02:00
Gwendal Roué
7ce6a8a094
Rename QueryInterfaceRequest to Request
2020-04-04 20:12:03 +02:00
Gwendal Roué
25a2bd653c
Fix compiler warning
2020-03-27 20:48:03 +01:00
Gwendal Roué
c03de9cc16
Fix documentation
2020-03-27 20:45:24 +01:00
Gwendal Roué
b4b5d9b602
Simplify ValueObservation scheduling
2020-03-27 08:27:30 +01:00
Gwendal Roué
e68bd077ee
Remove all observationForCount/All/First methods
2020-03-25 21:44:10 +01:00
Gwendal Roué
a647e200d9
Replace Never with ValueReducers.Auto
2020-03-25 08:19:47 +01:00
Gwendal Roué
294a04e9f6
Rename tracking(value:) to tracking(_:)
2020-03-25 08:11:43 +01:00
Gwendal Roué
121f7be847
ValueObservation is now fully based on region recording
...
And we introduce ValueObservation.trackingVolatile
2020-03-24 23:52:05 +01:00
Gwendal Roué
56f332122d
The observed region is always recorded
2020-03-24 22:59:07 +01:00
Gwendal Roué
3ee231afd3
Cleanup _OptionalProtocol
2020-03-21 14:36:48 +01:00
Gwendal Roué
c698b30c0a
Add fixits
2020-03-12 07:43:57 +01:00
Gwendal Roué
5e0535d511
ValueReducer creation does not need database access
2020-03-11 22:00:07 +01:00
Gwendal Roué
b96d71d937
Remove public ValueObservation factory methods that accept a _ValueReducer
2020-03-11 21:38:48 +01:00
Gwendal Roué
28c32c6af8
_ValueReducer is the only protocol accepted by ValueObservation
...
Also, we now use Never as the bottom reducer which helps us define the ValueObservation factory methods.
2020-03-11 21:38:41 +01:00
Gwendal Roué
f80c5ce348
Make the ValueReducer protocol unavailable
...
# Conflicts:
# GRDB/ValueObservation/ValueReducer/ValueReducer.swift
2020-03-11 21:38:20 +01:00
Gwendal Roué
2224042114
Rename ValueScheduling to ValueObservationScheduling
2020-03-10 19:10:38 +01:00
Gwendal Roué
c70b627f92
ValueObservation.start(in:onChange:) is unavailable
...
Hiding errors from user's sight was not a good idea
2020-03-10 08:09:53 +01:00
Gwendal Roué
8718d525d4
SE-0253: Callable values of user-defined nominal types
2020-03-08 20:36:49 +01:00
Gwendal Roué
694adcec64
Remove other deprecated methods
2020-03-08 18:03:11 +01:00
Gwendal Roué
5dd86d2453
Remove deprecated ValueObservation methods
2020-03-08 17:53:39 +01:00
Gwendal Roué
b9d4a5215a
Remove deprecated DatabaseMigrator methods
2020-03-08 17:13:31 +01:00
Gwendal Roué
456d2aee75
Remove deprecated SQLExpressionLiteral
2020-03-08 16:57:29 +01:00
Gwendal Roué
02890a6d3a
Remove deprecated SQLLiteral.mapSQL(_:)
2020-03-08 16:28:44 +01:00
Gwendal Roué
0f503fe0db
Remove deprecated FetchRequest.prepare(_: forSingleResult:)
2020-03-08 16:18:55 +01:00
Gwendal Roué
bfdd0696da
Remove deprecated setupMemoryManagement methods
2020-03-08 16:08:12 +01:00
Gwendal Roué
130e510f8c
Remove deprecated passphrase methods
2020-03-08 16:00:19 +01:00