Gwendal Roué
b593135401
SWIFT_STRICT_CONCURRENCY = complete
2024-02-11 16:56:21 +01:00
Gwendal Roué
a455120135
[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-02-11 16:56:21 +01:00
Gwendal Roué
44cd5ad749
[BREAKING] Bump requirements: Swift 5.10, Xcode 15.3, iOS 12, tvOS 12
2024-02-11 14:05:35 +01:00
Gwendal Roué
9cee1e218d
Tests for SQLITE_BUSY prevention with IMMEDIATE transactions
...
Those tests support the recommendation of IMMEDIATE transactions for shared databasesS.
See #1483
2024-01-17 19:39:40 +01:00
Gwendal Roué
e5a7c73dc9
Tests for associations to or from views
2024-01-14 14:33:17 +01:00
Gwendal Roué
a00a3f7c80
Fix failing test that dumpContent ignores shadow tables
2024-01-06 18:14:37 +01:00
Gwendal Roué
b9ac9b1ca8
Failing test that dumpContent ignores shadow tables
2024-01-06 18:12:45 +01:00
Gwendal Roué
07f1ddac04
Test that dumpContent ignores GRDB internal tables
2024-01-06 18:12:21 +01:00
Gwendal Roué
b42f618a01
Disable tests for attached schemas when databases are encrypted
2024-01-06 12:08:54 +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
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é
c5203f078d
Make Database.readOnly public
2023-11-30 07:56:21 +01:00
Gwendal Roué
dc281cee25
Cleanup tests for unspecified changes to a column
2023-11-25 17:01:11 +01:00
Gwendal Roué
9d6e127822
Failing test for DatabaseRegionObservation and Database.notifyChanges(in:)
2023-11-25 15:32:35 +01:00
Gwendal Roué
3df718c1a6
Failing test for ValueObservation and Database.notifyChanges(in:)
2023-11-25 15:32:35 +01:00
Gwendal Roué
abf48eb86f
Failing test for stopObservingDatabaseChangesUntilNextTransaction() from databaseDidChange()
2023-11-25 15:32:35 +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é
836e7733da
Prepare TransactionObserverTests for unspecified change notifications
2023-11-24 13:40:02 +01:00
Gwendal Roué
8b19c3424c
Test async read after async write
2023-11-11 13:38:03 +01:00
Gwendal Roué
225d7a8c2d
Fix test for SQLCipher
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é
4c8fc93fec
Fix tests for encrypted databases
2023-10-29 07:34:23 +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
Gwendal Roué
42fd32731a
Make withStableOrder able to deal with views
2023-10-28 15:46:10 +02:00
Gwendal Roué
aabdffabc2
All JSON functions are available on macOS 10.15, but -> and ->>
...
Thank you @martindufort for the detailed report: https://gist.github.com/groue/046ebddb4a410304094c022d756081c8
2023-10-15 09:06:28 +02:00
Gwendal Roué
7a7ee554c7
OrderedRequest.withStableOrder()
2023-10-12 09:17:50 +02:00
Gwendal Roué
69ae4c4e96
Dump
2023-10-12 09:17:50 +02:00
Gwendal Roué
8d4cc05021
Add missing tests for GRDB+SQLCipher
2023-10-08 20:20:07 +02:00
Gwendal Roué
c7047c4b33
Trim SQL in DatabaseError descriptoin
2023-10-08 20:07:59 +02:00
Gwendal Roué
9faea276d8
JSON tests
2023-10-04 19:55:12 +02:00
Gwendal Roué
5a42d78e06
Data decoding and encoding strategies
...
Users must be able to store JSON data as text in the database.
2023-10-04 19:55:12 +02:00
Gwendal Roué
718102f743
Create indexes on expressions
2023-10-02 07:49:59 +02:00
Gwendal Roué
6706de0103
Workaround for https://github.com/CocoaPods/CocoaPods/issues/12012
2023-09-16 17:52:40 +02:00
Jhonny Bill Mena
eec476b9ba
ADD - unit tests for custom JSON Encoder and Decoder in DatabaseValueConvertible
2023-09-10 23:54:50 -04:00
Gwendal Roué
13bc9ae56c
Tests for Configuration.journalMode
2023-08-25 09:10:43 +01:00
Gwendal Roué
9ff58c32e7
Use CChar instead of Int8 when we deal with C strings
2023-07-29 11:13:41 +02:00
Gwendal Roué
913168df2d
Upgrade tests with belongsTo
2023-07-09 17:22:38 +02:00
Gwendal Roué
349253e196
Failing tests for ForeignKeyDefinition
2023-07-09 17:16:08 +02:00
Gwendal Roué
dd85e699e2
Help handling of columns with no declared type
2023-07-09 17:16:08 +02:00
Gwendal Roué
c647840485
PrimaryKeyInfo exposes column types
2023-07-09 17:16:08 +02:00
Gwendal Roué
bebb751b3c
Create and drop view
2023-07-09 17:13:22 +02:00
Gwendal Roué
08fbd82ead
Rename StatementArgumentsSink.forRawSQL to literalValues
2023-07-09 17:13:22 +02:00
Gwendal Roué
ee0d3e43e0
iOS 17: Update date formatter tests so that it does not depend on the space before AM/PM
...
iOS 17 has changed that space
2023-07-09 14:37:45 +02:00
Gwendal Roué
5fca5fdabf
Force MACOSX_DEPLOYMENT_TARGET on SQLCipher CocoaPods tests
...
Workaround for https://github.com/CocoaPods/CocoaPods/issues/11839
2023-07-02 14:18:07 +02:00