Gwendal Roué
1f27e724c9
Open a door
2021-03-09 07:21:43 +01:00
Gwendal Roué
b22afd7f17
CHANGELOG
2021-03-08 21:56:47 +01:00
Gwendal Roué
ed3d1e1ac4
selectOnly() clears the isDistinct flag
2021-03-08 21:36:09 +01:00
Gwendal Roué
4521e6b37d
Make filterPromise an optional promise instead of a promise of optional
...
This way, filterPromise and havingExpressionPromise have the same type
2021-03-08 21:25:27 +01:00
Gwendal Roué
42718db49d
Documentation
2021-03-08 21:11:36 +01:00
Gwendal Roué
e08df854dd
Lower the tone about record responsabilities
2021-03-08 20:50:17 +01:00
Gwendal Roué
f4b7d99aab
Remove warning about associations that use CTEs
2021-03-08 19:59:47 +01:00
Gwendal Roué
4dd8042894
Make it possible to decode arrays of scalars from including(all:)
2021-03-08 14:21:35 +01:00
Gwendal Roué
4583bbfa90
Test for joined associations that use CTEs
2021-03-08 14:10:43 +01:00
Gwendal Roué
a655974eb0
Let joined associations use CTEs
2021-03-08 14:10:38 +01:00
Gwendal Roué
d4fc1d9566
Update documentation for the new Association/DerivableRequest powers
2021-03-08 08:36:32 +01:00
Gwendal Roué
f9b554d00a
Merge AggregateJoinableRequest into DerivableRequest
...
Also put distinct(), limit(_:offset:) and with(_:) into DerivableRequest
2021-03-08 07:55:20 +01:00
Gwendal Roué
6b733cfc0a
Tests for including(all:) with distinct, limited, grouped, and cte-decorated associations
2021-03-07 20:32:21 +01:00
Gwendal Roué
f0aec27095
AssociationToMany: distinct(), limit(_:offset:), with(_:)
2021-03-07 20:25:30 +01:00
Gwendal Roué
092b0d0e44
Move with(cte) methods to the file it belongs to
2021-03-07 19:58:15 +01:00
Gwendal Roué
d2a22ddd97
Make sure joined associations do not use prefetched to-many features
...
One can't join a distinct, grouped, or limited association.
2021-03-07 19:56:04 +01:00
Gwendal Roué
9c6ff6a1c0
Simplifly association aggregates
...
We don't need any promise. We used to, but SQLExpression.fastPrimaryKey has been introduced since then.
2021-03-07 19:36:08 +01:00
Gwendal Roué
a4dca3390a
AggregateJoinableRequest is the new protocol that supports aggregate annotations
...
AssociationToMany is a subprotocol of AggregateJoinableRequest :-)
2021-03-07 19:15:09 +01:00
Gwendal Roué
ea6a052b73
Merge all SQLRelation properties
2021-03-07 17:12:44 +01:00
Gwendal Roué
f49fab0cff
Merge SQLQuery into SQLRelation
2021-03-07 14:37:53 +01:00
Gwendal Roué
37faf0a1fd
Upgrade obsolete documentation
2021-03-07 14:20:28 +01:00
Gwendal Roué
4b5a6b503a
TODO
2021-03-07 13:12:28 +01:00
Gwendal Roué
2a85b1230b
Merge pull request #934 from groue/dev/issue-932
...
Fix a crash in the ValueObservation publisher
2021-03-07 12:12:44 +01:00
Gwendal Roué
3eb17fdbb7
CHANGELOG
2021-03-07 12:11:50 +01:00
Gwendal Roué
5400217bb6
ReceiveValuesOnSubscription forwards cancellation
...
Fixes #932
2021-03-07 12:10:35 +01:00
Gwendal Roué
71083a5586
Merge pull request #933 from groue/dev/issue-931
...
Fix DatabaseMigrator.eraseDatabaseOnSchemaChange in the context of shared databases
2021-03-07 12:09:04 +01:00
Gwendal Roué
37279dfad2
CHANGELOG
2021-03-06 14:20:11 +01:00
Gwendal Roué
8be0976bd1
Fix #931
2021-03-06 14:01:56 +01:00
Gwendal Roué
7623a96034
Failing test for #931
2021-03-06 13:34:27 +01:00
Gwendal Roué
424df6dee3
TODO
2021-03-06 13:25:59 +01:00
Gwendal Roué
48b6faa45e
Improve documentation of Configuration.prepareDatabase
2021-03-06 13:25:52 +01:00
Gwendal Roué
bac7b6b0e5
Refactor function calls
...
and make it possible to express other DISTINCT aggregates than COUNT: SUM(DISTINCT ...), etc.
2021-03-06 13:25:25 +01:00
Gwendal Roué
174766925a
Remove warning
2021-03-03 20:04:08 +01:00
Gwendal Roué
9d5cb15380
SQLExpression documentation & cleanup
2021-03-03 20:03:56 +01:00
Gwendal Roué
284ebbd3ef
[skip travis] Update thank you notice
2021-03-03 14:09:23 +01:00
Gwendal Roué
3b6cf4c12b
Merge branch 'development'
v5.5.0
2021-03-03 13:00:39 +01:00
Gwendal Roué
2329a5c7b4
v5.5.0
2021-03-03 13:00:21 +01:00
Gwendal Roué
8f50d70703
Merge pull request #930 from groue/dev/issue-929
...
Fix SQL generation for `COLLATE`, `IN`, `NOT IN`
2021-03-03 07:56:14 +01:00
Gwendal Roué
d2d515658e
CHANGELOG
2021-03-02 20:21:51 +01:00
Gwendal Roué
72123494ca
Add test for NOT IN and collated expressions
2021-03-02 20:16:15 +01:00
Gwendal Roué
7b81fd1bff
Fix documentation for #929
2021-03-02 20:12:38 +01:00
Gwendal Roué
5ea7296e7a
Add support for subquery.contains(collated expression)
2021-03-02 20:09:24 +01:00
Gwendal Roué
279b00f890
Fix failing tests for #929
2021-03-02 20:03:19 +01:00
Gwendal Roué
01d71d6f35
Failing tests for #929
2021-03-02 20:02:46 +01:00
Gwendal Roué
96df69b3fb
Add fundamental test for #929
2021-03-02 19:06:18 +01:00
Gwendal Roué
b17fce357d
Merge pull request #925 from groue/dev/RowDecodingError
...
Foundation for decoding errors
2021-03-01 09:03:20 +01:00
Gwendal Roué
37dfd95ae1
Symmetry with StatementColumnConvertible
2021-02-26 19:31:41 +01:00
Gwendal Roué
b834b9876d
Data.fastDecodeNoCopyIfPresent can not fail
2021-02-26 18:51:14 +01:00
Gwendal Roué
7f48e66fdc
Reduce inlined code
2021-02-26 18:50:47 +01:00
Gwendal Roué
b7c57dc7f2
Attempt at clarifying the (complex) decoding api
...
The difficulty is due to fast decoding of StatementColumnConvertible, and non-copied Data, from raw SQLite statement.
We want it to be inlinable, and possible in nested rows.
Added missing tests for nested rows
2021-02-25 20:45:12 +01:00