Gwendal Roué
b84d1eaeef
v7.5.0
2025-05-11 14:23:56 +02:00
Gwendal Roué
e7a35dde06
Extend Usage section
2025-05-11 14:23:04 +02:00
Gwendal Roué
c2e6c86934
Warn against the independent observation of each element in a list.
2025-05-11 13:32:50 +02:00
Gwendal Roué
7c2cbfe814
Merge pull request #1759 from groue/dev/expression-builder
...
Build request with closures
2025-05-11 13:28:01 +02:00
Gwendal Roué
034b241e71
Rename ColumnsProvider to DatabaseComponents
2025-05-11 13:10:19 +02:00
Gwendal Roué
814146c40d
DocC
2025-05-11 11:56:21 +02:00
Gwendal Roué
fedcdef65e
Fix typo
2025-05-11 11:21:48 +02:00
Gwendal Roué
2316fb3831
Prefer key paths when possible
2025-05-11 11:12:19 +02:00
Gwendal Roué
98e2812089
Convenience api for updating a single column
2025-05-11 10:58:09 +02:00
Gwendal Roué
8f6f1aa264
TODO
2025-05-11 10:57:28 +02:00
Gwendal Roué
96d04716c2
Update more documentation with the closure syntax
2025-05-11 10:57:20 +02:00
Gwendal Roué
004968517e
Update more documentation with the closure syntax
2025-05-10 17:43:22 +02:00
Gwendal Roué
f635aea2f2
Update more documentation with the closure syntax
2025-05-10 16:38:02 +02:00
Gwendal Roué
5c9b772e65
Test CommonTableExpression aliases on Swift 6.1
2025-05-10 16:37:44 +02:00
Gwendal Roué
d6ff3b14d4
DocC
2025-05-10 15:34:10 +02:00
Gwendal Roué
fac0c22ecb
Documentation for generic TableAlias
2025-05-10 14:52:48 +02:00
Gwendal Roué
5461caff04
Tests for generic TableAlias
2025-05-10 14:52:48 +02:00
Gwendal Roué
6cc3116ff4
TableAlias is generic
2025-05-10 14:52:48 +02:00
Gwendal Roué
55edcff97f
Extract TableAlias
2025-05-10 09:40:16 +02:00
Gwendal Roué
430141344d
Update more documentation with the closure syntax
2025-05-10 09:36:14 +02:00
Gwendal Roué
0567f69e66
Update AssociationBasics.md with the closure syntax
2025-05-10 09:36:14 +02:00
Gwendal Roué
be2fb76d77
DocC
2025-05-10 09:36:14 +02:00
Gwendal Roué
503fb09270
Test that aggregate can be expressed with key-paths in Swift 6.1
2025-05-10 09:36:14 +02:00
Gwendal Roué
ec6042e9c7
Update Tour.playground with closure syntax
2025-05-10 09:36:14 +02:00
Gwendal Roué
190ccda727
Rename deleteAndFetchStatement(_:select:) for consistency
2025-05-10 09:36:14 +02:00
Gwendal Roué
af1adff71d
More closure syntax for requests in README
2025-05-10 09:36:14 +02:00
Gwendal Roué
43e103d5f8
Recommend GRDB7 for CocoaPods
2025-05-10 09:36:14 +02:00
Gwendal Roué
7b2e9d838a
Swift 6.1 compiler: test key-path requests.
2025-05-10 09:36:14 +02:00
Gwendal Roué
6b0faede2a
Use closure syntax for insertAndFetch
2025-05-10 09:36:14 +02:00
Gwendal Roué
ed402d5de6
Use closure syntax for batch updates
2025-05-10 09:36:14 +02:00
Gwendal Roué
db5c4cc458
Use closure syntax for requests in README
2025-05-10 09:36:14 +02:00
Gwendal Roué
352f77f225
Stop recommending String enums for Columns.
...
We now recommend:
enum Columns {
static let id = Column("id")
static let title = Column("title")
static let latitude = Column("latitude")
static let longitude = Column("longitude")
}
Instead of the previous recommendation:
enum Columns: String, ColumnExpression {
case id, title, latitude, longitude
}
This is because SE-0438 does not support Metatype Keypaths for enums. A request like `Place.order(\.title)` does not compile with a String enum.
2025-05-10 09:36:14 +02:00
Gwendal Roué
ed98ac30e0
DocC
2025-05-10 09:36:14 +02:00
Gwendal Roué
35fa28ab90
QueryInterfaceRequest.select(_:as:) with ColumnsProvider
2025-05-10 09:36:14 +02:00
Gwendal Roué
a89bd88340
Prefer key paths over closures, except in tests
...
Don't use key paths in tests because they are Swift 6.1+ only
2025-05-10 09:36:14 +02:00
Gwendal Roué
b01f6da3cf
Remove TODO
2025-05-10 09:36:14 +02:00
Gwendal Roué
e7fdd65072
deleteAndFetchStatement(_,selection:) with ColumnsProvider
2025-05-10 09:36:14 +02:00
Gwendal Roué
ff15f30a3b
select(_, as:) with ColumnsProvider
2025-05-10 09:36:14 +02:00
Gwendal Roué
f69ca1a573
Build aggregates from ColumnsProvider
2025-05-10 09:36:14 +02:00
Gwendal Roué
e8b143e2ee
Demo app uses ColumnsProvider
2025-05-10 09:36:14 +02:00
Gwendal Roué
5e9b965bee
Test requests built from ColumnsProvider
2025-05-10 09:36:13 +02:00
Gwendal Roué
ce238b6643
Build requests from ColumnsProvider
2025-05-10 09:36:13 +02:00
Gwendal Roué
787393db18
Fix Swiftlint warning
2025-05-10 09:36:13 +02:00
Gwendal Roué
8774497f31
Modernize QueryInterfaceRequestTests with an inner Columns type
...
so that we can use the new SQLExpressionBuilder
2025-05-10 09:36:13 +02:00
Gwendal Roué
94e90e7e6c
Columns and ColumnsProvider associated types of TableRecord
2025-05-10 09:36:13 +02:00
Gwendal Roué
9064717b8a
Merge pull request #1764 from groue/dev/fts-pattern-initializers
...
Make it possible to create a raw FTS5Pattern without any database connection
2025-05-08 13:07:27 +02:00
Gwendal Roué
00f462292b
Documentation
2025-05-08 12:50:19 +02:00
Gwendal Roué
5a0622e5b8
Tests for FTS5Pattern.init(rawPattern:allowedColumns:)
2025-05-08 12:48:24 +02:00
Gwendal Roué
596db46407
Make FTS5Pattern.init(rawPattern:allowedColumns:) public
...
Fix #1763
2025-05-08 12:47:21 +02:00
Gwendal Roué
0aaa2a4f37
Adjust wording about Linux
2025-04-26 17:31:40 +02:00