Gwendal Roué
|
55cdb4e9a9
|
DatabaseMigrator is Sendable
|
2024-08-25 16:26:38 +02:00 |
|
Gwendal Roué
|
dc281cee25
|
Cleanup tests for unspecified changes to a column
|
2023-11-25 17:01:11 +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é
|
f6e695a21d
|
More explicit any/some
|
2023-04-08 12:01:59 +02:00 |
|
Gwendal Roué
|
ac214e6760
|
SE-0345: if let shorthand for shadowing an existing optional variable
|
2023-01-30 08:00:47 +01:00 |
|
Gwendal Roué
|
a702fe6bc9
|
BREAKING: persistence callbacks, and support for RETURNING
- Replace performInsert, performUpdate, etc with callbacks: willInsert, aroundInsert, didInsert, etc.
- Always call didInsert, even with INSERT OR IGNORE
- Explicit conflict resolution in persistence methods
- Add ...AndFetch... methods
|
2022-08-21 21:22:34 +02:00 |
|
Gwendal Roué
|
c5eba4741d
|
Test that read-only transactions are not notified
|
2022-04-30 15:42:57 +02:00 |
|
Gwendal Roué
|
e1dd96603b
|
Test that cursors can trigger transaction observers
This is important because users will start executing database modifications with fetching methods, now that they have db.allStatement().
|
2021-07-30 13:41:52 +02:00 |
|
Gwendal Roué
|
994893951d
|
Temporary disable savepoint tests
|
2020-06-25 18:52:15 +02:00 |
|
Gwendal Roué
|
20f693c508
|
Disable two SQLCipher tests until we understand what is happening
|
2020-06-07 16:36:55 +02:00 |
|
Gwendal Roué
|
d60fe3c22f
|
Replace import GRDBCustomSQLite with import GRDB
|
2020-04-04 16:44:01 +02:00 |
|
Gwendal Roué
|
9aa67f9db9
|
SE-0255: Implicit returns from single-expression functions
|
2020-03-08 23:12:46 +01:00 |
|
Gwendal Roué
|
1c1ee4e92a
|
GRDBCipher is no longer. Long live GRDB.swift/SQLCipher.
|
2019-04-19 13:11:55 +02:00 |
|
Gwendal Roué
|
db67d3840b
|
Principle of least astonishment: rrename argument label rawSQL to sql
|
2019-02-17 13:28:41 +01:00 |
|
Gwendal Roué
|
59162d93de
|
Rename Database.execute(_:String) to Database.execute(rawSQL:String)
|
2019-02-17 13:27:54 +01:00 |
|
Gwendal Roué
|
ea3f22c8a4
|
Fix tests that were failing now that DatabaseQueue.inDatabase runs inside a transaction
|
2018-04-13 18:07:24 +02:00 |
|
Gwendal Roué
|
1a91020a84
|
After all, FetchableRecord and PersistableRecord
|
2018-02-27 19:25:49 +01:00 |
|
Gwendal Roué
|
08a08cd74f
|
Rename MutablePersistable to EncodableRecord
|
2018-02-27 18:46:32 +01:00 |
|
Gwendal Roué
|
ba6a026cdc
|
Rename RowConvertible to DecodableRecord
|
2018-02-27 13:17:51 +01:00 |
|
Gwendal Roué
|
fc1b4a6f35
|
Complete refactoring of SelectStatement.SelectionInfo into DatabaseSelectionInfo
|
2018-01-15 22:28:43 +01:00 |
|
Gwendal Roué
|
eee3e36238
|
Test TransactionObserver.ignoreDatabaseChangesUntilNextTransaction()
|
2018-01-14 17:08:53 +01:00 |
|
Gwendal Roué
|
95a09cb644
|
Only notify observed events to transaction observers
|
2018-01-07 13:33:35 +01:00 |
|
Gwendal Roué
|
a95385c740
|
Simplify TransactionObserverTests with Codable
|
2017-11-07 19:22:54 +01:00 |
|
Gwendal Roué
|
2901acfb41
|
Refactor tests of observation of transaction completion. Make them fail for empty deferred transactions.
|
2017-11-07 13:55:17 +01:00 |
|
Gwendal Roué
|
efe201e032
|
More tests for observation of empty deferred transactions
|
2017-10-31 08:17:30 +01:00 |
|
Gwendal Roué
|
28c903f7ea
|
Failing tests for observation of empty deferred transactions
|
2017-10-31 08:11:12 +01:00 |
|
Gwendal Roué
|
a5b45031d2
|
Failing tests for observation of empty deferred transactions
|
2017-10-31 07:31:15 +01:00 |
|
Gwendal Roué
|
4995b5bb8c
|
Group truncate optimization tests together
|
2017-10-07 06:51:13 +02:00 |
|
Gwendal Roué
|
823b094b60
|
SE-0168
|
2017-08-18 14:22:14 +02:00 |
|
Gwendal Roué
|
06a6c982aa
|
SE-0148
|
2017-08-18 14:22:14 +02:00 |
|
Gwendal Roué
|
badec62cdd
|
SE-0110
|
2017-08-18 14:20:35 +02:00 |
|
Gwendal Roué
|
2f79d5f805
|
Database.afterCommit(_:)
|
2017-06-20 07:54:19 +02:00 |
|
Gwendal Roué
|
90a46f6556
|
Introduce TransactionObservationExtent
|
2017-06-20 07:54:19 +02:00 |
|
Gwendal Roué
|
a913aba018
|
Replace persistentDictionary with encode(to:)
|
2017-06-20 07:54:19 +02:00 |
|
Gwendal Roué
|
10e669423f
|
Use the dbValue identifier for variables of type DatabaseValue
|
2017-06-01 08:35:14 +02:00 |
|
Gwendal Roué
|
55e4abd534
|
Rename USING_SQLCIPHER to GRDBCIPHER and USING_CUSTOMSQLITE to GRDBCUSTOMSQLITE
|
2017-05-22 19:15:10 +02:00 |
|
Gwendal Roué
|
e54cec9123
|
Move tests to Swift Package Manager test target
|
2017-04-23 15:47:16 +02:00 |
|