Gwendal Roué
c97f633022
More documentation of database schema methods
2024-10-13 11:28:14 +02:00
Gwendal Roué
4315030af5
More tests for object existence checks
2024-10-13 11:12:27 +02:00
Gwendal Roué
13b6c9d36b
Split database schema documentation into several files, and restore the overview of database schema features
...
Fixes #1623
2024-10-13 10:54:13 +02:00
Gwendal Roué
8aaeb253d2
Merge pull request #1653 from Jnosh/schema-changes-readonly
...
Fix DatabaseMigrator.hasSchemaChanges failing for readonly connections
2024-10-13 10:49:53 +02:00
Janosch Hildebrand
a741fb38f0
Fix DatabaseMigrator.hasSchemaChanges failing for readonly connections
2024-10-12 18:36:15 +02:00
Gwendal Roué
2c49a69f43
Raise a fatal error when the users filters a database view by primary key
...
Fixes #1648
2024-10-12 15:41:36 +02:00
Gwendal Roué
d6b50b2c54
Merge branch 'development'
v7.0.0-beta.4
2024-10-12 14:04:05 +02:00
Gwendal Roué
ad983f7971
7.0.0-beta.4
2024-10-12 14:03:56 +02:00
Gwendal Roué
7cd075bbdc
Merge pull request #1651 from groue/dev/hasSchemaChanges
...
Allow applications to handle DatabaseMigrator schema changes.
2024-10-12 14:01:01 +02:00
Gwendal Roué
0aa8498620
DatabaseMigrator.hasSchemaChanges
2024-10-12 12:40:36 +02:00
Gwendal Roué
bccf312af6
Merge branch 'development'
v7.0.0-beta.3
2024-10-06 18:49:34 +02:00
Gwendal Roué
5b4a86b5f7
7.0.0-beta.3
2024-10-06 18:42:03 +02:00
Gwendal Roué
68d12916e6
Fix Swiftlint warning
2024-10-06 18:36:43 +02:00
Gwendal Roué
6a4f454464
Merge pull request #1649 from bok-/master
...
Add `DatabaseValueConvertible` tip for JSON columns
2024-10-06 18:30:23 +02:00
Gwendal Roué
a9fa2871aa
Document the requirements
2024-10-06 18:19:11 +02:00
Rob Amos
8c5396898a
Add DatabaseValueConvertible tip
2024-10-06 23:18:13 +11:00
Gwendal Roué
dd14710c86
Fix typo
2024-10-06 13:55:29 +02:00
Gwendal Roué
97c0c72702
Merge pull request #1645 from philmitchell/coalesce
...
Add coalesce free function and Row method
2024-10-06 13:55:02 +02:00
Gwendal Roué
a17d72e04c
Make the top-level coalesce function work with collections of size zero and one.
2024-10-06 12:53:22 +02:00
Gwendal Roué
761b00f9bc
Test Row.coalesce with collections of size zero and one.
2024-10-06 12:45:38 +02:00
Gwendal Roué
ac3278a38b
Test top-level function coalesce like other top-level functions
2024-10-06 12:42:33 +02:00
Gwendal Roué
06c3ab0d16
Test Row.coalesce on all variants of Row
2024-10-06 12:42:10 +02:00
Gwendal Roué
f38619ada8
Restore alphabetical order of SQL functions
2024-10-06 12:42:10 +02:00
Gwendal Roué
8cac458efc
Use "real" column names in examples.
...
Also, remove "essential".
2024-10-06 12:42:10 +02:00
Gwendal Roué
a13c1bec29
Add coalesce in DocC
2024-10-06 12:19:49 +02:00
Gwendal Roué
c6781f46d2
Prefer Collection over Array
...
This allows the user to call those methods with an Array, or any other collection at hand (including lazy ones)
This change makes `return coalesce(columns.lazy.map { $0.name })` iterate lazily. Before this commit, `map` was returning a non-lazy Array.
2024-10-06 12:19:49 +02:00
Gwendal Roué
fd04831586
Merge pull request #1644 from tayloraswift/enable-linux-build
...
use #if directives to conditionally `@preconcurrency import `the `Dispatch` module to enable building the package on linux
2024-10-06 11:45:59 +02:00
Phil Mitchell
d7754fa79c
Add coalesce free function and Row method
2024-09-30 13:10:59 +10:00
Dianna
5f2185a118
use #if directives to conditionally @preconcurrency import the Dispatch module to enable building the package on linux
2024-09-29 21:44:34 +00:00
Gwendal Roué
dc03b8a29e
Update links to GRDB7 documentation
2024-09-29 20:29:51 +02:00
Gwendal Roué
a0c1de55c4
Enhance PlayerListModelTests
2024-09-29 17:10:05 +02:00
Gwendal Roué
d1f5a37520
Enhance the demo app tests
...
Based on https://forums.swift.org/t/testing-closure-based-asynchronous-apis/73705/36
2024-09-29 15:46:18 +02:00
Gwendal Roué
ed5f8c11ab
7.0.0-beta.2
v7.0.0-beta.2
2024-09-29 15:17:41 +02:00
Gwendal Roué
afda0d1e7c
Merge pull request #1643 from finestructure/patch-1
...
Update .spi.yml
2024-09-29 15:12:38 +02:00
Sven A. Schmidt
18c7f51a4e
Update .spi.yml
2024-09-29 15:10:03 +02:00
Gwendal Roué
a6b15684c3
Improve migration notes for ValueObservation
2024-09-29 13:27:07 +02:00
Gwendal Roué
9bdde6bc6f
More links in GRDBDemo README
2024-09-29 13:04:36 +02:00
Gwendal Roué
db9ef1bb27
Emphasize Swift concurrency recommendations in the migration guide
2024-09-29 12:12:57 +02:00
Gwendal Roué
2958020c69
De-emphasize the Record class in the migration guide
2024-09-29 12:10:26 +02:00
Gwendal Roué
895436a2a1
Mention companion libraries in the GRDB 7 migration guide
2024-09-29 12:07:34 +02:00
Gwendal Roué
47a7ddf08a
Merge branch 'development'
v7.0.0-beta
2024-09-29 10:24:10 +02:00
Gwendal Roué
ecd4658a88
Update the release process
2024-09-29 10:23:39 +02:00
Gwendal Roué
ec031dcf4f
v7.0.0-beta
2024-09-29 10:19:57 +02:00
Gwendal Roué
006252cf14
Swift 6 version in podsepc
2024-09-29 10:19:45 +02:00
Gwendal Roué
5a9b592c38
Merge pull request #1642 from groue/GRDB7
...
GRDB 7
2024-09-29 09:27:13 +02:00
Gwendal Roué
e0eca340e4
Demo app cleanup
2024-09-29 08:36:56 +02:00
Gwendal Roué
4132d02d14
Merge pull request #1641 from groue/dev/GRDB7-Swift-6-language-mode
...
GRDB7: Enable the Swift 6 language mode
2024-09-29 08:06:28 +02:00
Gwendal Roué
625c52913b
Remove the documentation paragraph about the Xcode bug with CSQLite
...
It is not informative enough. Maybe Xcode has fixed the bug. And maybe #1600 helps.
2024-09-29 07:19:52 +02:00
Gwendal Roué
c8ec149224
CHANGELOG
2024-09-29 07:16:01 +02:00
Gwendal Roué
9302925081
Fix Swiftlint warnings
2024-09-28 18:02:05 +02:00