Gwendal Roué
e92c0c9aed
Hide SQLSpecificExpressible from jazzy documentation
2018-09-16 13:39:11 +02:00
Gwendal Roué
e5cd3a8994
SE-0206
2018-08-30 16:34:30 +02:00
Gwendal Roué
d4d0aed3ae
Simplify jazzy documentation
2018-08-25 16:04:50 +02:00
Gwendal Roué
8af33c4fc9
Introduce select(..., as:)
...
Record.select(..., as: Value.self) is equivalent to Record.select(...).asRequest(of: Value.self).
It somewhat improves the readability of some requests:
Player.select(max(Column("score")), as: Int.self)
2018-08-19 12:25:27 +02:00
Gwendal Roué
fa31c484da
OrderedRequest now waits for the database connection before ordering is computed
2018-06-05 22:46:02 +02:00
Gwendal Roué
003020dd29
Associations documentatiion
2018-05-31 22:52:32 +02:00
Gwendal Roué
0620b1b513
Associations: inline documentation
2018-05-21 07:53:06 +02:00
Gwendal Roué
4eac0797fa
Less TODO
2018-05-21 07:39:30 +02:00
Gwendal Roué
07176e941b
Associations: inline documentation
2018-05-21 07:35:25 +02:00
Gwendal Roué
dadece1b04
Associations: inline documentation
2018-05-20 19:35:18 +02:00
Gwendal Roué
b98992eb18
Associations: inline documentation
2018-05-20 19:05:45 +02:00
Gwendal Roué
0191d64f56
Associations: inline documentation
2018-05-20 18:55:14 +02:00
Gwendal Roué
02d5b9c014
Associations: inline documentation
2018-05-20 18:13:34 +02:00
Gwendal Roué
aa81b992c4
Associations: inline documentation
2018-05-20 17:48:22 +02:00
Gwendal Roué
aead6eec4a
Sometimes you don't understand what you read because information is not given at the right time
2018-05-07 19:39:13 +02:00
Gwendal Roué
756863152c
Fix documentation typos
2018-05-07 19:33:07 +02:00
Gwendal Roué
c1c3233ba2
Remove two useless .init (thank you Xcode autocomplete)
2018-05-07 19:23:33 +02:00
Gwendal Roué
91ad986d0b
Cleanup and add internal documentation for the non-trivial TableAlias
2018-05-07 19:17:19 +02:00
Gwendal Roué
a35f012286
Cleanup
2018-05-07 17:50:27 +02:00
Gwendal Roué
a360976e23
ForeignKey initializer accepts ColumnExpression
2018-05-06 14:15:12 +02:00
Gwendal Roué
2d008b8c54
Yet another request protocols update, in order to empower RxGRDB
2018-05-05 11:57:17 +02:00
Gwendal Roué
264bceee2a
Cleanup
2018-05-04 14:28:29 +02:00
Gwendal Roué
cdad6fa313
Introduce DerivableRequest
2018-05-04 14:19:27 +02:00
Gwendal Roué
1bf7f67008
Update inline documentation with singular table names
2018-05-01 20:32:18 +02:00
Gwendal Roué
ab36df6e0f
Use "finalized" to describe queries that are ready for SQL generation
2018-05-01 17:42:39 +02:00
Gwendal Roué
ffaabdfd62
Toward improved DatabaseRegion for joined requests
2018-05-01 17:20:37 +02:00
Gwendal Roué
8e2cdeebc3
Cleanup
2018-05-01 15:03:36 +02:00
Gwendal Roué
66a425f718
Thread-safe table name disambiguation, via SQLGenerationContext. Merge SQLTableQualifier into TableAlias.
2018-05-01 14:44:51 +02:00
Gwendal Roué
344eba821f
Spot more qualifier/alias problems
2018-04-30 19:31:56 +02:00
Gwendal Roué
8d5e57873e
Documentation
2018-04-30 15:33:16 +02:00
Gwendal Roué
e6f084d397
Law of Demeter
2018-04-30 13:59:20 +02:00
Gwendal Roué
09458c1d37
Documentation, move asRequest(of:) to QueryInterfaceRequest in order to avoid AnyFetchRequest contamination
2018-04-30 13:41:20 +02:00
Gwendal Roué
9a379fc1bc
Use DatabasePromise where relevant
2018-04-30 12:57:12 +02:00
Gwendal Roué
a45d019472
Simplification
...
Rename AssociationMapping to JoinCondition
Replace AssociationMappingRequest enum with ForeignKeyJoinConditionRequest struct
Rename AssociationChainOperator to AssociationJoinOperator, and "chain" to "join"
2018-04-30 12:50:38 +02:00
Gwendal Roué
50dd846a36
Remove useless constraint on Association.LeftAssociated and Association.RightAssociated
2018-04-30 12:25:07 +02:00
Gwendal Roué
dddeff458a
none() is no longer a requirement of FilteredRequest
2018-04-30 09:02:05 +02:00
Gwendal Roué
ccc259c25c
Documentation
2018-04-30 08:55:16 +02:00
Gwendal Roué
5e7235307a
Cleanup
2018-04-30 08:36:29 +02:00
Gwendal Roué
5747d1cff0
No more #if swift(>=4.1)
2018-04-30 08:26:23 +02:00
Gwendal Roué
e05a64f1cb
Cleanup
2018-04-30 08:11:16 +02:00
Gwendal Roué
d6f088609e
Prevent chaining required association behind an optional one
2018-04-29 18:34:49 +02:00
Gwendal Roué
4586eb9a82
Associations Documentation
2018-04-29 18:27:59 +02:00
Gwendal Roué
3e46942f30
Associations
2018-04-29 18:16:39 +02:00
Gwendal Roué
26108badd4
request.reversed() has no effect when request is not already ordered
2018-04-26 12:51:29 +02:00
Gwendal Roué
d09afc8929
explicitely -> explicitly
2018-04-25 19:35:03 +02:00
Gwendal Roué
4409b07ef5
ColumnExpression documentation
2018-04-23 08:39:19 +02:00
Gwendal Roué
f2ae44384f
Rename SQLColumnExpression to ColumnExpression
2018-04-22 18:13:47 +02:00
Gwendal Roué
29b364d5cb
Introduce SQLColumnExpression
2018-04-22 14:56:40 +02:00
Gwendal Roué
b2d2d17dda
#330 follow-up: extract QualifiedAllColumns from AllColumns
2018-04-22 07:26:08 +02:00
Gwendal Roué
2dae6d945f
#330 follow-up: extract QualifiedColumn from Column
2018-04-22 07:17:26 +02:00