Gwendal Roué
|
09899e9bcf
|
filter(id:) does not accept optionals
|
2021-03-28 06:48:22 +02:00 |
|
Gwendal Roué
|
9489174b98
|
Filter by id for Identifiable types with optional ID type
|
2021-03-27 18:47:16 +01:00 |
|
Gwendal Roué
|
b086b99821
|
Filter by id for Identifiable types
|
2021-03-27 17:43:01 +01:00 |
|
Gwendal Roué
|
051fdb37b6
|
Rename SQLLiteral to SQL
|
2021-03-21 13:33:49 +01:00 |
|
Gwendal Roué
|
1f4db99a37
|
Documentation fix
|
2021-03-17 20:26:10 +01:00 |
|
Gwendal Roué
|
ac436a2770
|
Make SQLLiteral less painful to use
|
2021-03-14 11:09:29 +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é
|
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é
|
920417beb3
|
Replace protocols with enums
|
2021-02-14 18:28:15 +01:00 |
|
Gwendal Roué
|
836efb120f
|
Xcode 12.3 formatting
|
2020-12-23 12:13:05 +01:00 |
|
Gwendal Roué
|
f31dd0033c
|
Remove non-composable cte association methods
|
2020-12-01 08:21:04 +01:00 |
|
Gwendal Roué
|
b7b89c5fa9
|
CTE associations
|
2020-11-30 21:51:17 +01:00 |
|
Gwendal Roué
|
c776ee8d47
|
Association: remove TableRecord requirement
|
2020-11-30 21:50:18 +01:00 |
|
Gwendal Roué
|
c36fc2813b
|
Include a raw SQL CTE
|
2020-11-30 19:29:54 +01:00 |
|
Gwendal Roué
|
ec2640a459
|
CommonTableExpression is a table, after all
|
2020-11-30 19:21:46 +01:00 |
|
Gwendal Roué
|
2bb9f5ce0d
|
First joins with CommonTableExpression
|
2020-11-29 19:05:12 +01:00 |
|
Gwendal Roué
|
d66a3f4ab3
|
Fix Swiftlint warning
|
2020-11-01 10:39:48 +01:00 |
|
Gwendal Roué
|
06db4af649
|
Enhance warning
|
2020-11-01 10:33:05 +01:00 |
|
Gwendal Roué
|
baf1ef32d1
|
Document why filter(_:) prefers SQLSpecificExpressible over SQLExpressible
|
2020-11-01 10:29:07 +01:00 |
|
Gwendal Roué
|
caa382f41b
|
Deprecate filter(value)
Some people use Player.filter(id) instead of Player.filter(key: id). This is what this commit prevents.
|
2020-11-01 09:41:16 +01:00 |
|
Gwendal Roué
|
7f229468d2
|
Documentation
|
2020-07-12 15:12:04 +02:00 |
|
Gwendal Roué
|
07092169bf
|
Documentation
|
2020-07-12 14:17:58 +02:00 |
|
Gwendal Roué
|
99ed742555
|
"row id" -> "rowid"
|
2020-07-11 13:21:14 +02:00 |
|
Gwendal Roué
|
68785d1c2d
|
Hide _SQLAssociation
|
2020-07-05 16:21:28 +02:00 |
|
Gwendal Roué
|
90f2642ec6
|
Make good use of the visitor pattern
|
2020-07-05 15:07:52 +02:00 |
|
Gwendal Roué
|
97cb1d595e
|
Improve groupByPrimaryKey()
Using the rowID when possible yields better performance
|
2020-07-01 21:25: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é
|
1e92b98165
|
TODO
|
2020-04-30 08:40:35 +02:00 |
|
Gwendal Roué
|
d0ba9e342c
|
Turn selection and having clauses into promises. Give association aggregates access to the actual primary key, for better support for WITHOUT ROW ID tables.
|
2020-04-25 19:51:03 +02:00 |
|
Gwendal Roué
|
9aa67f9db9
|
SE-0255: Implicit returns from single-expression functions
|
2020-03-08 23:12:46 +01:00 |
|
Gwendal Roué
|
591384576f
|
SQLOrderingLiteral (and prevent reversing of requests ordered by literal)
|
2020-02-14 12:31:54 +01:00 |
|
Gwendal Roué
|
5e67ca5566
|
Deprecate SQLExpressionLiteral, hide SQLSelectionLiteral, introduce SQLLiteral.sqlExpression and .sqlSelectable
|
2020-01-24 08:55:55 +01:00 |
|
Gwendal Roué
|
2d1f218ec5
|
Force TableRecord on Association origin & destination, append TableRequest to DerivableRequest requirements
|
2019-07-27 15:23:29 +02:00 |
|
Gwendal Roué
|
df6bb8761c
|
Swiftlint + whitespace
|
2019-07-01 08:57:53 +02:00 |
|
Gwendal Roué
|
e7a590b82b
|
Extract joining methods to the JoinableRequest protocol
|
2019-05-29 08:36:55 +02:00 |
|
Gwendal Roué
|
ab000d7a4f
|
Remove useless expression parenthesis from SQL
|
2019-05-26 20:08:13 +02:00 |
|
Gwendal Roué
|
faae864699
|
Query Interface code organization
|
2019-05-22 20:13:33 +02:00 |
|