Gwendal Roué
|
9ed309b470
|
Fix failing tests for number of threads created by DatabasePool
|
2022-05-24 19:31:22 +02:00 |
|
Gwendal Roué
|
1260980150
|
Remove return keywords
|
2022-05-18 08:14:19 +02:00 |
|
Gwendal Roué
|
f0cfde682e
|
Update outdated documentation
|
2022-05-18 08:12:00 +02:00 |
|
Ethan Wong
|
f313a43ef9
|
Update doc issue on TableRequest.filter(keys:).
|
2022-05-07 13:32:31 +08:00 |
|
Gwendal Roué
|
fb18a3938f
|
Database.isolated(readOnly: true) avoids triggering database observation
Fix failing test for #1209
|
2022-04-30 15:27:20 +02:00 |
|
Gwendal Roué
|
5082207bb0
|
Don't notify read-only transactions
|
2022-04-30 15:27:20 +02:00 |
|
Gwendal Roué
|
06b5367053
|
Default transaction kind is .deferred in read-only connections
This applies to both connections open in read-only mode, and pragma query_only.
|
2022-04-30 14:29:31 +02:00 |
|
Gwendal Roué
|
209192d3a5
|
Require Swift 5.6 Compiler for Concurrency Support
|
2022-04-13 23:07:33 +02:00 |
|
Gwendal Roué
|
feebc07101
|
Documentation
|
2022-04-02 13:21:26 +02:00 |
|
Renaud Lienhart
|
80c15c6ef6
|
Fix a crash when an observation is quickly cancelled
|
2022-03-31 10:55:00 +11:00 |
|
Gwendal Roué
|
a3a26bf88f
|
Fix #1194
|
2022-03-26 11:43:44 +01:00 |
|
Gwendal Roué
|
43e1871005
|
Fix for Xcode 12.4
|
2022-03-22 13:46:09 +01:00 |
|
Gwendal Roué
|
8a6e784428
|
Fix for Xcode 12.5.1
Without this change, the compiler would crash with Abort trap: 6
|
2022-03-22 09:26:12 +01:00 |
|
Ben Barnett
|
3f0a8e6730
|
Provide error message as a failure reason
|
2022-03-20 08:07:39 +00:00 |
|
Gwendal Roué
|
6916a8feca
|
#1183 cleanup
|
2022-03-18 03:36:20 +01:00 |
|
Gwendal Roué
|
6ab3fea8fb
|
Refactor ValueObservation
|
2022-03-17 18:44:30 +01:00 |
|
Gwendal Roué
|
287ceb8b07
|
Documentation & cleanup
|
2022-03-17 18:44:30 +01:00 |
|
Ethan Wong
|
4ea04ec978
|
Update RowAdapter doc to cover all concrete adapters.
|
2022-03-18 00:59:16 +08:00 |
|
Gwendal Roué
|
c30b49117b
|
If a scope is found, there is no point searching for prefetched rows
|
2022-03-04 12:04:02 +01:00 |
|
Gwendal Roué
|
ec975819b7
|
Fix for container.decodeNil(forKey:) in the context of including(all:)
|
2022-03-04 11:55:53 +01:00 |
|
Gwendal Roué
|
b974dfa9a7
|
Use fetchSet when available
|
2022-03-04 11:40:42 +01:00 |
|
Gwendal Roué
|
95ce4a3f8a
|
Drop async apis from DatabaseMigrator
This is because DatabaseMigrator can't be Sendable as long as it runs migrations that embed non-@Sendable closures.
|
2022-02-01 09:53:20 +01:00 |
|
Gwendal Roué
|
72e8dd2816
|
Cleanup
|
2022-01-31 20:20:02 +01:00 |
|
Gwendal Roué
|
75f72472ff
|
Cleanup
|
2022-01-31 08:37:57 +01:00 |
|
Gwendal Roué
|
09f7d4d952
|
Complete #1161
|
2022-01-30 15:27:11 +01:00 |
|
Gwendal Roué
|
3d0b34590f
|
Fix typo
|
2022-01-30 14:49:31 +01:00 |
|
Gwendal Roué
|
4e65425c00
|
Cleanup
|
2022-01-30 14:41:29 +01:00 |
|
Gwendal Roué
|
b8c0e9d2c2
|
Fix failing test for cached statement which does not prevent the truncate optimization
|
2022-01-30 14:24:28 +01:00 |
|
Gwendal Roué
|
c60b8cfc53
|
Refactor prevention of truncate optimization
We now always use the same authorizer, which is always ready to prevent truncate optimization depending on the current transaction observers.
|
2022-01-30 14:07:43 +01:00 |
|
Gwendal Roué
|
9dc6fbd7f9
|
Fix #1159
|
2022-01-30 12:27:19 +01:00 |
|
Gwendal Roué
|
ed4471c5b9
|
Configuration.writeTargetQueue
|
2022-01-29 17:45:21 +01:00 |
|
Gwendal Roué
|
426044154c
|
Fix public statement arguments for system SQLite
|
2022-01-29 15:54:39 +01:00 |
|
Gwendal Roué
|
b5395a097c
|
Documentation
|
2022-01-29 15:27:40 +01:00 |
|
Gwendal Roué
|
99c596f778
|
Fix DatabaseError public initializer
|
2022-01-29 15:21:44 +01:00 |
|
Gwendal Roué
|
fd22fac5c0
|
Don't shed too much light on expandedSQL & expandedDescription properties
|
2022-01-29 15:12:41 +01:00 |
|
Gwendal Roué
|
6e3a15ebed
|
Statement.description no longer contains statement arguments
|
2022-01-29 14:57:18 +01:00 |
|
Gwendal Roué
|
fc5138ae91
|
Configuration.publicStatementArguments
This flags allows database errors and trace events to hide or show statement arguments by default.
|
2022-01-28 13:57:12 +01:00 |
|
Gwendal Roué
|
d3985c7ebf
|
TraceEvent.description no longer contains statement arguments
Use TraceEvent.expandedDescription in order to see statements arguments
|
2022-01-27 19:30:00 +01:00 |
|
Gwendal Roué
|
9f0ba49c93
|
DatabaseError.description no longer contains statement arguments
Use DatabaseError.expandedDescription in order to see statements arguments
|
2022-01-27 19:30:00 +01:00 |
|
Gwendal Roué
|
09922c34ff
|
Code formatting
|
2022-01-23 12:24:34 +01:00 |
|
Gwendal Roué
|
aacc69f485
|
Fix typos
|
2022-01-21 13:43:44 +01:00 |
|
Gwendal Roué
|
301fb34702
|
Fix failing test for including(all:) on limited request and composite primary keys
|
2022-01-21 13:42:42 +01:00 |
|
Gwendal Roué
|
948c7870bd
|
Merge pull request #1151 from freak4pc/fk-docs
Fix documentation for foreignKeysEnabled
|
2022-01-19 15:50:16 +01:00 |
|
 Shai MishaliandGwendal Roué
|
fa896eee23
|
Update GRDB/Core/Configuration.swift
Co-authored-by: Gwendal Roué <gr@pierlis.com>
|
2022-01-19 16:46:55 +02:00 |
|
Shai Mishali
|
c4023ccf0a
|
Fix documentation for foreignKeysEnabled
|
2022-01-19 15:48:11 +02:00 |
|
Gwendal Roué
|
28109a3947
|
Merge pull request #1144 from TimAEllis/feature/add-drop-column
Add drop column support
|
2022-01-19 08:06:24 +01:00 |
|
Gwendal Roué
|
124cba1b21
|
Work around missing SQLITE_ALTER_TABLE action
|
2022-01-19 07:29:16 +01:00 |
|
BB9z
|
6d3f309cad
|
Fix typos
|
2022-01-19 00:10:42 +08:00 |
|
Timothy Ellis
|
daf44d9baa
|
Exposed drop(column:) to custom builds and cipher
|
2022-01-18 10:11:12 +11:00 |
|
Timothy Ellis
|
869d776962
|
Added drop column support
|
2022-01-17 10:02:04 +11:00 |
|