Gwendal Roué
|
4bd5ace2ee
|
Use rawSQL as parameter name for raw SQL
|
2019-02-17 13:28:40 +01:00 |
|
Gwendal Roué
|
85f618e16e
|
SQLLiteral.mapSQL
|
2019-02-17 13:28:40 +01:00 |
|
Gwendal Roué
|
e7995b9cd4
|
SQLExpressionLiteral(rawSQL:)
|
2019-02-17 13:28:40 +01:00 |
|
Gwendal Roué
|
c546c578ce
|
fetchCursor/All/One(_:rawSQL:arguments:adapter:)
|
2019-02-17 13:28:40 +01:00 |
|
Gwendal Roué
|
59162d93de
|
Rename Database.execute(_:String) to Database.execute(rawSQL:String)
|
2019-02-17 13:27:54 +01:00 |
|
Gwendal Roué
|
354d22d70d
|
Update documentation for literal interpolation
|
2019-02-17 13:24:38 +01:00 |
|
Gwendal Roué
|
f15b2e12d6
|
Remove support for check constraint defined with a literal
That's because we can't support it until SQLLiteral is able to quote values
|
2019-02-17 13:24:38 +01:00 |
|
Gwendal Roué
|
4ecef0ea11
|
Don't be shy on interpolation
|
2019-02-17 13:24:38 +01:00 |
|
Gwendal Roué
|
637de8b6fa
|
SQLiteral are passed via a literal parameter
|
2019-02-17 13:24:38 +01:00 |
|
Gwendal Roué
|
aa6f55d72f
|
Statement arguments are generally non optional
|
2019-02-17 13:24:38 +01:00 |
|
Gwendal Roué
|
f018c7f823
|
Rename SQLString to SQLLiteral
|
2019-02-17 13:24:38 +01:00 |
|
Gwendal Roué
|
09e85ba341
|
SQLString everywhere
|
2019-02-17 13:24:38 +01:00 |
|
Gwendal Roué
|
f27a1e9504
|
request.select(SQLString)
|
2019-02-17 13:24:38 +01:00 |
|
Gwendal Roué
|
86409687a4
|
TODO: Documentation
|
2019-02-17 13:24:38 +01:00 |
|
Gwendal Roué
|
8affc8abe4
|
Remove dead code
|
2019-02-17 13:24:37 +01:00 |
|
Gwendal Roué
|
d9cf760a25
|
SQLString
|
2019-02-17 13:24:37 +01:00 |
|
Gwendal Roué
|
87ee00c2c5
|
SQLInterpolation
|
2019-02-17 13:24:37 +01:00 |
|
Gwendal Roué
|
493575a47b
|
SE-0220 count(where:)
|
2019-02-09 10:21:34 +01:00 |
|
Gwendal Roué
|
249484a21f
|
SE-0204 Add last(where:) and lastIndex(where:) Methods
|
2019-02-08 08:47:45 +01:00 |
|
Gwendal Roué
|
a230fe400d
|
Availability checks: assume iOS >= 9.0
|
2019-02-07 08:52:38 +01:00 |
|
Gwendal Roué
|
b6f79f176c
|
SE-0206 : Hashable Enhancements
|
2019-02-07 08:21:48 +01:00 |
|
Gwendal Roué
|
e99823dbcc
|
Make DatabasePromise a proper monad
|
2019-02-04 19:27:18 +01:00 |
|
Gwendal Roué
|
a1c99425cc
|
SQLQualifiedSource.init(_:) bugfix, and cleanup
|
2019-02-04 08:18:20 +01:00 |
|
Gwendal Roué
|
699c63e913
|
Explain how SQLSelectQueryGenerator uses RowAdapter
|
2019-02-03 19:55:26 +01:00 |
|
Gwendal Roué
|
e924587236
|
Extract generation of SQL SELECT queries into SQLSelectQueryGenerator
|
2019-02-03 14:56:28 +01:00 |
|
Gwendal Roué
|
c776801c4a
|
Document "merging" and "finalization"
|
2019-02-03 11:58:16 +01:00 |
|
Gwendal Roué
|
73782d5e9d
|
BelongsTo, HasOne and HasMany share the same JoinAssociationImpl
|
2019-02-03 10:23:34 +01:00 |
|
Gwendal Roué
|
659171902e
|
Move join-related types to SQLRelation.swift
|
2019-02-03 10:09:34 +01:00 |
|
Gwendal Roué
|
4a209fcbc4
|
Rename SQLSource to SQLRelation.Source
|
2019-02-03 10:06:23 +01:00 |
|
Gwendal Roué
|
91b68ffa4f
|
Trim
|
2019-02-03 09:29:52 +01:00 |
|
Gwendal Roué
|
5ea914ce0a
|
YAGNI: JoinCondition.sqlExpression is not optional
|
2019-02-03 08:42:37 +01:00 |
|
Gwendal Roué
|
950fa607a1
|
Hide implementation details of associations
|
2019-02-03 08:26:58 +01:00 |
|
Gwendal Roué
|
c9ff5a53a1
|
JoinCondition: Equatable
|
2019-02-03 00:03:04 +01:00 |
|
Gwendal Roué
|
f42d5f202d
|
White space
|
2019-02-02 17:57:01 +01:00 |
|
Gwendal Roué
|
27c6390635
|
More Association trimming
|
2019-02-02 17:53:01 +01:00 |
|
Gwendal Roué
|
e62cfe086c
|
Documentation
|
2019-02-02 17:23:50 +01:00 |
|
Gwendal Roué
|
40f6b351ea
|
Rename QueryInterfaceQuery to SQLSelectQuery
|
2019-02-02 17:15:29 +01:00 |
|
Gwendal Roué
|
89dda44364
|
Extract and document DatabasePromise
|
2019-02-02 17:04:16 +01:00 |
|
Gwendal Roué
|
9addac6f54
|
Rename QueryOrdering to SQLRelation.Ordering
|
2019-02-02 16:43:10 +01:00 |
|
Gwendal Roué
|
5a942d7213
|
More trimming: QueryInterfaceQuery now embeds a SQLRelation
|
2019-02-02 16:20:43 +01:00 |
|
Gwendal Roué
|
bb972a351a
|
Refactor JoinQuery into SQLRelation
|
2019-02-02 15:39:18 +01:00 |
|
Gwendal Roué
|
5f037c7e4e
|
Replace JoinQuery initializer with QueryInterfaceRequest.asJoinQuery()
|
2019-02-02 14:54:31 +01:00 |
|
Gwendal Roué
|
9d391badc0
|
Documentation
|
2019-02-02 14:31:12 +01:00 |
|
Gwendal Roué
|
d9530433f2
|
Move JoinCondition definition
|
2019-02-02 13:15:17 +01:00 |
|
Gwendal Roué
|
20d067c826
|
Documentation
|
2019-02-02 13:11:00 +01:00 |
|
Gwendal Roué
|
1e7840f0e4
|
More trimming
|
2019-02-02 11:38:27 +01:00 |
|
Gwendal Roué
|
77fd2b8411
|
Restore failing tests
|
2019-02-02 10:51:33 +01:00 |
|
Gwendal Roué
|
b180fc37bb
|
Trim associations
|
2019-02-02 10:38:47 +01:00 |
|
Gwendal Roué
|
54361617fe
|
Remove headers
|
2018-11-25 09:33:55 +01:00 |
|
Gwendal Roué
|
466a1ad4d5
|
Database.reindex(collation:)
|
2018-11-17 18:56:29 +01:00 |
|