Gwendal Roué
|
127c4e0440
|
Rename methods that check foreign keys
|
2021-11-04 18:26:24 +01:00 |
|
Gwendal Roué
|
63ba4fb294
|
Rename unsafeWithoutDeferredForeignKeyChecks to disablingDeferredForeignKeyChecks
|
2021-11-04 15:10:33 +01:00 |
|
Gwendal Roué
|
6193c6aa00
|
foreignKeyViolations() and checkForeignKeyViolations()
|
2021-11-04 14:19:11 +01:00 |
|
Gwendal Roué
|
51c15e9db6
|
Precise handling of foreign key checks in migrations
|
2021-11-03 13:26:24 +01:00 |
|
Gwendal Roué
|
0a8967ccde
|
move applied migration identifiers table creation to the top of migrations execution
https://github.com/zdnk/GRDB.swift/commit/51ff937397248355d4b264aedfd5a8f05893a2b8
Thanks @zdnk :-)
|
2021-11-03 08:33:09 +01:00 |
|
Gwendal Roué
|
20cb50f52d
|
Public close() method
|
2021-10-31 18:12:13 +01:00 |
|
Gwendal Roué
|
1ee2c8097a
|
SharedValueObservation is experimental
|
2021-10-31 13:55:18 +01:00 |
|
Gwendal Roué
|
8076e7c725
|
Fix failing tests for key/id encoding strategies
|
2021-10-31 11:07:17 +01:00 |
|
Gwendal Roué
|
7690db9284
|
Documentation
|
2021-10-24 16:15:46 +02:00 |
|
Gwendal Roué
|
2f212b8a5f
|
SharedValueObservation error handling
|
2021-10-24 15:46:32 +02:00 |
|
Gwendal Roué
|
abc6c55e14
|
Documentation
|
2021-10-24 15:17:52 +02:00 |
|
Gwendal Roué
|
c3618e0cf0
|
SharedValueObservation publisher
|
2021-10-24 12:38:00 +02:00 |
|
Gwendal Roué
|
8ccaf59d4d
|
Default SharedValueObservation extent: .whileObserved
|
2021-10-23 17:47:12 +02:00 |
|
Gwendal Roué
|
9e0b1b3ded
|
SharedValueObservation
|
2021-10-23 17:23:48 +02:00 |
|
Gwendal Roué
|
53c662d179
|
Decode optional collections from prefetched rows
This allows to define records that only decode to-many associations when they are eager-loaded.
See https://github.com/groue/GRDB.swift/issues/1084#issuecomment-948880910
|
2021-10-23 12:40:55 +02:00 |
|
Gwendal Roué
|
b4570c0e84
|
Fix typos in Table documentation
|
2021-10-17 12:56:24 +02:00 |
|
Gwendal Roué
|
8c9ac0ecd2
|
Documentation for exists, isEmpty, saved, inserted
|
2021-10-17 12:28:42 +02:00 |
|
Gwendal Roué
|
5f44162abe
|
Rename request.exists(_:) to isEmpty(_:)
|
2021-10-17 12:27:19 +02:00 |
|
Gwendal Roué
|
55b938a1f5
|
Test exists(_:), exists(_🔑) and exists(_🆔)
|
2021-10-17 12:27:19 +02:00 |
|
Gwendal Roué
|
235ea2e689
|
Test saved(_:) and inserted(_:)
|
2021-10-17 12:27:19 +02:00 |
|
Gwendal Roué
|
7a046fb27e
|
exists(_:) quality of life improvements
|
2021-10-17 12:27:19 +02:00 |
|
Gwendal Roué
|
cbd68099a9
|
inserted(_:) and saved(_:) quality of life improvements
|
2021-10-17 12:27:19 +02:00 |
|
Gwendal Roué
|
6d44c05f3b
|
DatabasePool.erase() prevents concurrent reads until it has completed
|
2021-10-13 14:46:47 +02:00 |
|
Gwendal Roué
|
ba88a150c0
|
Improve inline doc of database access methods
|
2021-10-11 15:50:06 +02:00 |
|
Gwendal Roué
|
2d4398798a
|
SE-0299 for DatabaseRegionConvertible.fullDatabase
|
2021-10-01 11:13:20 +02:00 |
|
Gwendal Roué
|
bc9ea84bb2
|
Merge pull request #1052 from jason-gabriele/fix-swift-error
Change init to fix Swift error
|
2021-09-22 10:34:43 +02:00 |
|
Gwendal Roué
|
c0d70f9ef0
|
Refactor FTS5 tokenization in order to support custom tokenizers
|
2021-09-21 19:34:06 +02:00 |
|
Gwendal Roué
|
dfe519ea9b
|
Build FTS patterns from prefixes
|
2021-09-20 17:35:47 +02:00 |
|
Gwendal Roué
|
b0b8872798
|
Expose FTS tokenization methods
|
2021-09-20 17:14:07 +02:00 |
|
jason
|
fbc0ee77bb
|
Change init to fix Swift error
|
2021-09-08 13:57:24 -07:00 |
|
Gwendal Roué
|
dabdb0d590
|
Merge branch 'development' into pr-1029
|
2021-09-03 14:37:29 +02:00 |
|
Gwendal Roué
|
d63429ea23
|
DatabaseMigrator.migrations
|
2021-09-03 14:31:46 +02:00 |
|
Gwendal Roué
|
87e9a0d0e0
|
Add license
|
2021-08-30 19:21:37 +02:00 |
|
Gwendal Roué
|
e6e2536f6b
|
Reverse DatabaseColumnDecodingStrategy
It does not convert coding keys to columns, but columns to CodingKeys, exactly as JSONDecoder.KeyDecodingStrategy
|
2021-08-29 13:52:36 +02:00 |
|
Gwendal Roué
|
86e4adf860
|
Spot a design flaw
|
2021-08-29 10:08:08 +02:00 |
|
Gwendal Roué
|
427a00582f
|
Rename keyDecodingStrategy to columnDecodingStrategy
|
2021-08-29 09:55:06 +02:00 |
|
Gwendal Roué
|
6f024373b3
|
Fix failing test
|
2021-08-29 09:51:31 +02:00 |
|
Gwendal Roué
|
e60a31f401
|
Fix failing test
|
2021-08-29 09:40:32 +02:00 |
|
Gwendal Roué
|
d567630966
|
Column decoding strategy only applies to columns
|
2021-08-29 08:55:39 +02:00 |
|
Gwendal Roué
|
42045ad8fb
|
Merge remote-tracking branch 'origin/development' into pr1029
|
2021-08-29 08:37:13 +02:00 |
|
Gwendal Roué
|
0914b56c41
|
Add mark
|
2021-08-29 08:31:36 +02:00 |
|
Gwendal Roué
|
33e2c379db
|
Make it clear that strategies apply to columns only
...and not to row scopes or prefetched records
|
2021-08-28 16:24:53 +02:00 |
|
Gwendal Roué
|
06763e47d2
|
Share convertToSnakeCase()
|
2021-08-28 16:05:41 +02:00 |
|
Gwendal Roué
|
5f23d97903
|
Add the custom strategies
|
2021-08-28 15:50:34 +02:00 |
|
Gwendal Roué
|
03a8e03a92
|
Documentation
Doc of cases is copied from JSONDecoder.KeyDecodingStrategy and JSONEncoder.KeyEncodingStrategy
|
2021-08-28 15:48:31 +02:00 |
|
Gwendal Roué
|
987b8a48e5
|
Key coding strategies transform keys into columns
They are not String transformers
|
2021-08-28 15:41:12 +02:00 |
|
Gwendal Roué
|
ae60de399e
|
Inline GRDBPrecondition
|
2021-08-28 14:54:51 +02:00 |
|
Gwendal Roué
|
b06dc5dc77
|
Do not inline RowDecodingError.valueMismatch creation
|
2021-08-28 14:54:51 +02:00 |
|
Gwendal Roué
|
c0c8eec75d
|
Replace _checkedIndex with _checkIndex
That's what the stdlib Array does
|
2021-08-28 14:54:51 +02:00 |
|
Gwendal Roué
|
151a457251
|
Inline StatementColumnConvertible decoding
|
2021-08-28 14:53:54 +02:00 |
|