Gwendal Roué
f6ce2e82f9
[BREAKING] Stop exporting SQLite
2024-03-30 13:27:44 +01:00
Gwendal Roué
233078979e
[BREAKING] Remove AsyncValueObservation does not need any scheduler
2024-03-27 17:52:26 +01:00
Gwendal Roué
cac01e270a
[BREAKING] insertAndFetch, saveAndFetch, and updateAndFetch no longer return optionals.
...
Those optionals were just an annoyance. Now, nil results are replaced with `RecordError.recordNotFound`. Such an error is only expected with the IGNORE conflict policy.
2024-03-27 17:42:27 +01:00
Gwendal Roué
c14b194637
Remove ill-advised TODO
...
This would force users to force-unwrap their custom `ColumnType(rawValue: "WHATEVER")!`
2024-03-27 17:39:10 +01:00
Gwendal Roué
57ac5ddbb3
[BREAKING] Bump requirements: Swift 5.10, Xcode 15.3, iOS 12, tvOS 12
2024-03-27 17:38:54 +01:00
Gwendal Roué
87fdd9a66f
cast function
2024-03-23 10:47:19 +01:00
Gwendal Roué
79d82337b2
CAST expression
2024-03-23 10:47:13 +01:00
Gwendal Roué
fab4638fc9
Database.StorageClass
2024-03-23 10:46:52 +01:00
Gwendal Roué
ac8c4aea63
Report correct error when decoding NULL into Date or Data
...
Fixes #1512
2024-03-21 14:25:12 +01:00
Gwendal Roué
5413dcfeeb
Remove jsonErrorPosition unless GRDBCUSTOMSQLITE || GRDBCIPHER
...
For some reason, if #available(iOS 9999, macOS 9999, tvOS 9999, watchOS 9999, *) has stopped being able to skip the test (WTF?)
2024-03-19 12:15:47 +01:00
Gwendal Roué
c3e7736534
Dump schema
2024-03-17 20:45:31 +01:00
Gwendal Roué
43ced9b2f0
Trivial Sendable conformances
...
Either added, either made explicitly unavailable.
2024-03-17 18:25:04 +01:00
Gwendal Roué
4ffad63f1b
Fix Swift 5.10 warning on WALSnapshot
2024-03-17 17:55:25 +01:00
Gwendal Roué
d54d0abc07
Fix WALSnapshotTransaction so that it clears its schema cache if needed
2024-03-17 16:13:35 +01:00
Simon Jarbrant
4232fa687d
Conform Database.ColumnType to Sendable
2024-03-08 14:28:36 +01:00
Daniele Pantaleone
1920482158
Added privacy manifest file
2024-02-15 16:57:46 +01:00
Gwendal Roué
d0fc34b199
Recommend IMMEDIATE transactions in the Sharing a Database guide
...
Fix #1483
2024-01-17 20:04:39 +01:00
Gwendal Roué
f5d55cb1a1
TODO
2024-01-17 10:51:42 +01:00
Gwendal Roué
1239178bee
Improve diagnostic when an association to/from view are lacking an explicit ForeignKey
...
Related discussion: https://github.com/groue/GRDB.swift/discussions/1481
2024-01-14 17:31:17 +01:00
Gwendal Roué
c06552fbd4
Document that shadow tables are not recorded by dumpContent()
2024-01-06 18:36:58 +01:00
Gwendal Roué
a00a3f7c80
Fix failing test that dumpContent ignores shadow tables
2024-01-06 18:14:37 +01:00
Ben Barnett
27a4215424
Add schemaName parameter to foreign key checking functions
2023-12-08 18:22:49 +00:00
Ben Barnett
65167ec7da
Add schemaName parameter to table/view/triggerExists()
2023-12-08 18:22:49 +00:00
Ben Barnett
73489fc0e7
Add schemaName parameter to indexes(on:)
2023-12-08 18:22:49 +00:00
Ben Barnett
1aca8efa65
Add schemaName parameter to foreignKeys(on:)
2023-12-08 18:22:49 +00:00
Ben Barnett
a22bf83ae8
Split duplicate nested conditions into separate function
2023-12-07 18:32:34 +00:00
Ben Barnett
f00a974211
Add schemaName parameter to columns(in:)
2023-12-06 20:49:48 +00:00
Ben Barnett
ac475cc158
Add schemaName parameter to primaryKey(_:)
2023-12-06 20:32:17 +00:00
Gwendal Roué
e3cf966c81
Documentation organization
2023-12-01 08:02:32 +01:00
Gwendal Roué
c5203f078d
Make Database.readOnly public
2023-11-30 07:56:21 +01:00
Gwendal Roué
e29c52d7e5
Update obsolete documentation of stopObservingDatabaseChangesUntilNextTransaction
2023-11-27 10:00:41 +01:00
Gwendal Roué
93462cfd2c
Documentation
2023-11-26 10:33:00 +01:00
Gwendal Roué
d8760253ff
Add missing DocC reference
2023-11-25 17:10:40 +01:00
Gwendal Roué
a8ed98e414
Mention undetected changes in the Database Sharing Guide
2023-11-25 16:50:01 +01:00
Gwendal Roué
f1a8c5ac92
Wording
2023-11-25 16:49:37 +01:00
Gwendal Roué
079c0c7f26
The unit of change notification is the event kind, not the region
2023-11-25 16:44:18 +01:00
Gwendal Roué
bced461c4f
Fix failing test for DatabaseRegionObservation and Database.notifyChanges(in:)
2023-11-25 15:32:35 +01:00
Gwendal Roué
dff7971cd7
Fix failing test for ValueObservation and Database.notifyChanges(in:)
2023-11-25 15:32:35 +01:00
Gwendal Roué
3e52e265ce
Fix failing test for stopObservingDatabaseChangesUntilNextTransaction() from databaseDidChange()
2023-11-25 15:32:35 +01:00
Gwendal Roué
56ad833ab7
New Dealing with Undetected Changes documentation chapter
2023-11-25 15:32:35 +01:00
Gwendal Roué
8afd986790
Fix failing tests for Database.notifyChanges(in:) and master tables
2023-11-25 15:32:35 +01:00
Gwendal Roué
918afbd33e
Fix failing tests for Database.notifyChanges(in:) and regular tables
2023-11-25 14:39:13 +01:00
Gwendal Roué
b5cb8fadf0
Failing tests for Database.notifyChanges(in:)
2023-11-25 14:39:13 +01:00
Gwendal Roué
1a16bdeac8
TransactionObserver.databaseDidChange()
2023-11-25 13:30:23 +01:00
Gwendal Roué
5e749eb50b
Document that changes performed by SQLite statements that are not compiled and executed by GRDB are not detected.
2023-11-24 14:10:57 +01:00
Gwendal Roué
f0fe5ff017
TODO GRDB7
2023-11-02 14:08:15 +01:00
Gwendal Roué
46ad19d2e3
Documentation
2023-11-02 14:03:52 +01:00
Gwendal Roué
2603b6ea03
Support for ORDER BY and FILTER in aggregate functions
2023-11-02 14:03:52 +01:00
Gwendal Roué
38bb8d3505
Backport temporary copies from GRDBSnapshotTesting
2023-10-28 18:38:15 +02:00
Gwendal Roué
ba320a08e3
Make dumpTables able to print views
2023-10-28 15:46:31 +02:00