Gwendal Roué
5d9e853f24
Fix typos in code samples
2026-11-01 20:45:05 +01:00
Gwendal Roué
004968517e
Update more documentation with the closure syntax
2025-05-10 17:43:22 +02:00
Gwendal Roué
a642ac51aa
AllColumnsExcluding
2025-01-19 16:26:59 +01:00
Gwendal Roué
6a29d6c081
[BREAKING] Prefer Collection over Sequence for filter(keys:) and derived APIs
...
We were frequently turning those sequences into an Array in order to check their emptiness, and generally were not sure we'd iterate a sequence only once.
Also use `some Sequence` and `some Collection` whenever possible.
2024-09-08 12:52:27 +02:00
Gwendal Roué
bebb751b3c
Create and drop view
2023-07-09 17:13:22 +02:00
Gwendal Roué
17906dc505
Table SQL interpolation
...
Addresses https://github.com/groue/GRDB.swift/issues/1332
2023-02-14 08:58:26 +01:00
Gwendal Roué
ac214e6760
SE-0345: if let shorthand for shadowing an existing optional variable
2023-01-30 08:00:47 +01:00
Gwendal Roué
13c804d1cc
DocC
2022-11-06 16:02:36 +01:00
Gwendal Roué
82b4d90a82
Xcode 14 RC doesn't ship with the Swift 5.6 stdlib
...
https://forums.swift.org/t/xcode-14-rc-cannot-specialize-protocol-type/60171
2022-09-09 08:16:55 +02:00
Gwendal Roué
a9fcf1b9c1
SE-0335, SE-0341, SE-0346, SE-0352, SE-0358: some, any, primary associated types
2022-08-21 21:22:34 +02:00
Gwendal Roué
051fdb37b6
Rename SQLLiteral to SQL
2021-03-21 13:33:49 +01:00
Gwendal Roué
64bb63e304
CommonTableExpression has an implicit Row RowDecoder
2021-02-20 12:47:13 +01:00
Gwendal Roué
920417beb3
Replace protocols with enums
2021-02-14 18:28:15 +01:00
Gwendal Roué
25b2a0392d
SQL interpolation supports embedding collations into SQL literals
2021-01-28 08:39:40 +01:00
Gwendal Roué
836efb120f
Xcode 12.3 formatting
2020-12-23 12:13:05 +01:00
Gwendal Roué
6abbf82a89
So long, visitor pattern!
2020-12-23 09:02:17 +01:00
Gwendal Roué
e72007c1dd
Make SQLiteral.subquery a promise
...
This allows us to postpone CTEs definition until a db connection is available
2020-12-13 18:29:43 +01:00
Gwendal Roué
63255cabf8
SQL interpolation of CTEs
2020-12-05 13:40:56 +01:00
Gwendal Roué
002287ca28
Close FetchRequest, make it visitable
2020-07-11 17:30:11 +02:00
Gwendal Roué
90f2642ec6
Make good use of the visitor pattern
2020-07-05 15:07:52 +02:00
Gwendal Roué
17e745f52b
SQLRequestProtocol, close FetchRequest
2020-05-10 15:34:37 +02:00
Gwendal Roué
9392722bab
Restore and fix test for TableRecord selection interpolation
2020-04-30 19:47:35 +02:00
Gwendal Roué
443d44cc7a
Restore TableRecord.selectionSQL in the form of SQL interpolation
2020-04-30 19:33:33 +02:00
Gwendal Roué
1d89d184fd
Fix subqueries semantics
2020-04-30 08:19:00 +02:00
Gwendal Roué
be249bc697
SQLRequestExpressible is a sub protocol of SQLSpecificExpressible
2020-04-29 23:40:37 +02:00
Gwendal Roué
94fed7965b
Cleanup
2020-04-29 22:16:19 +02:00
Gwendal Roué
188f51c513
Refactor handling of arguments during SQL generation
2020-04-29 21:27:14 +02:00
Gwendal Roué
e800c71cbc
Refactor SQLLiteral so that subqueries are no longer a special case
2020-04-29 20:20:13 +02:00
Gwendal Roué
7865b0a2ee
SE-0249: Key Path Expressions as Functions
2020-03-08 19:58:51 +01:00
Gwendal Roué
9578f984ec
Remove useless #if compiler/swift checks
2020-03-08 13:42:44 +01:00
Gwendal Roué
eb6f6e57ff
Fix failing test for literal expression function
2020-02-25 22:13:17 +01:00
Gwendal Roué
3ccfcb61ce
Cleanup SQLLiteral elements
2020-01-25 16:11:17 +01:00
Gwendal Roué
e2545b3427
Test for more complex SQLLiteral generation
2020-01-25 12:15:14 +01:00
Gwendal Roué
4811bc3c5b
Test SQLLiteral qualification
2020-01-24 08:55:55 +01:00
Gwendal Roué
01a1a7c962
Fix typo
2019-08-11 13:04:24 +02:00
Gwendal Roué
8e38af9aae
Fix #591
2019-08-11 13:03:43 +02:00
Gwendal Roué
df6bb8761c
Swiftlint + whitespace
2019-07-01 08:57:53 +02:00
Gwendal Roué
ab000d7a4f
Remove useless expression parenthesis from SQL
2019-05-26 20:08:13 +02:00
Gwendal Roué
21d2df9ade
New SQL interpolation "... \(tableOf: record) ..." (addresses #524 )
2019-05-22 08:53:50 +02:00
Gwendal Roué
22c2cfb4ea
Test SQLRequest interpolation
2019-02-22 13:28:58 +01:00
Gwendal Roué
59cc1fef67
SQLInterpolation.md
2019-02-21 23:10:06 +01:00
Gwendal Roué
8df8129743
SQLInterpolation.appendInterpolation(SQLRequest)
2019-02-21 14:20:50 +01:00
Gwendal Roué
8d6a2fb4f1
Documentation, support for interpolation of empty sequences
2019-02-17 13:28:41 +01:00
Gwendal Roué
86409687a4
TODO: Documentation
2019-02-17 13:24:38 +01:00
Gwendal Roué
d9cf760a25
SQLString
2019-02-17 13:24:37 +01:00