Gwendal Roué
7e7c232fc0
Tests for ValueObservation.print()
2020-06-20 22:09:28 +02:00
Gwendal Roué
dd76cdffec
ValueObservation.handleEvents
2020-06-20 19:57:51 +02:00
Gwendal Roué
c4ab23761e
QueryInterfaceRequest.selectPrimaryKey(as:)
2020-06-15 17:02:00 +02:00
Gwendal Roué
47cf3b0108
Update FAQ sample code with TableRecord.primaryKey, and add tests for FAQ
2020-06-15 14:09:15 +02:00
Gwendal Roué
ab97ceb784
TableRecord.primaryKey
2020-06-15 14:08:50 +02:00
Gwendal Roué
70714768d9
Always use snapshots apis through grdb_xxx shims
2020-06-14 15:38:16 +02:00
Gwendal Roué
eacf48fef3
More snapshot-based optimization of ValueObservation with DatabasePool
...
This time, for the .immediate scheduler.
2020-06-14 06:34:08 +02:00
Gwendal Roué
f1e65fbb2c
Optimization of ValueObservation with DatabasePool thanks to SQLITE_ENABLE_SNAPSHOT
...
The difficulty is that system <sqlite3.h> does not contain the expected declarations, even when SQLite is compiled with SQLITE_ENABLE_SNAPSHOT :-(
Since snapshots are not exposed in any public API, we don't bother dealing with availability checks. We just add the missing declarations, and rely on the linker in order to spot eventual errors.
This commit is likely to break Linux builds, though.
2020-06-13 20:14:40 +02:00
Gwendal Roué
8d44ad7256
Database.maximumStatementArgumentCount
2020-06-12 14:19:31 +02:00
Gwendal Roué
3a42a4bf9f
Rename checkpoint tuple members
2020-06-07 17:07:31 +02:00
Gwendal Roué
3e5a21b49b
Tests for Database.checkpoint(_🔛 )
2020-06-07 17:07:31 +02:00
Gwendal Roué
6f3ec89bcd
Update checkpointing tests
2020-06-07 17:07:31 +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é
d94fcc398b
Date modifiers, more julianDay(), and dateTime()
2020-06-05 20:48:12 +02:00
Gwendal Roué
3c48a434f1
Tests for default SQLExpressible conformance for RawRepresentable
2020-06-05 12:27:58 +02:00
Gwendal Roué
59c5d2e43b
test for julianDay function
2020-06-05 12:14:40 +02:00
Gwendal Roué
45e5333c2c
Test optimized SQLCipher
2020-06-05 08:32:05 +02:00
Gwendal Roué
d55e16de3c
Database.description tests
2020-06-03 19:37:34 +02:00
Gwendal Roué
961e5e46c1
Fix SQLCipher tests
2020-06-01 14:09:22 +02:00
Gwendal Roué
a2dce4a238
Come on, Travis
2020-06-01 09:02:25 +02:00
Gwendal Roué
b47680638d
Trace statements by default
2020-06-01 07:16:48 +02:00
Gwendal Roué
5f7a9de8a5
Fix statement profiling test for slow setups
2020-06-01 06:28:46 +02:00
Gwendal Roué
b95d7cb647
More Tests for Database.trace(options:_:)
2020-05-31 20:13:45 +02:00
Gwendal Roué
81213f2649
Tests for Database.trace(options:_:)
2020-05-31 19:08:42 +02:00
Gwendal Roué
9ee3fd38b5
Remove mentions of unsupported iOS versions
2020-05-31 13:54:02 +02:00
Gwendal Roué
03a66af35e
Bump iOS requirement to iOS10+
...
iOS9 simulator is no longer available with the Xcode 11.4+ requirement. https://twitter.com/xenadu02/status/1140093901438689280
2020-05-31 13:48:59 +02:00
Gwendal Roué
289394c7ac
Turn LockedBox and ReadWriteBox into property wrappers.
...
Also fix an old concurrency bug in tests, regarding query recording
2020-05-30 13:52:39 +02:00
Gwendal Roué
a5de2b9288
Breaking: AnyFetchRequest.asRequest(of:)
2020-05-30 10:30:07 +02:00
Gwendal Roué
80f0379d71
Remove database content unused by test
2020-05-25 13:39:35 +02:00
Gwendal Roué
449c0e37b1
Update regression tests for #783
2020-05-25 13:24:25 +02:00
Gwendal Roué
f825c52ecf
Update request region tests for both DatabaseRegionConvertible and statement region
2020-05-25 13:04:48 +02:00
Gwendal Roué
af0946fd21
Regression tests for #783 (WIP)
2020-05-25 09:34:35 +02:00
Gwendal Roué
ed6ad9d373
Clean up DatabaseMigrator tests
2020-05-11 08:50:04 +02:00
Gwendal Roué
44772f89d7
More tests for DatabaseMigrator.hasBeenSuperseded(_:)
2020-05-11 08:46:41 +02:00
Gwendal Roué
2aa61c3403
Tests for DatabaseMigrator.hasBeenSuperseded(_:)
2020-05-11 08:28:02 +02:00
Gwendal Roué
6fcf4f565a
Relax test for various SQLite versions
2020-05-10 15:34:38 +02:00
Gwendal Roué
e94be4a06e
Upgrade path for FetchRequest
2020-05-10 15:34:38 +02:00
Gwendal Roué
a318d4cc82
Test upgrade path from GRDB4 to GRDB5
2020-05-10 15:34:37 +02:00
Gwendal Roué
4f500de04b
Expose SQLLiteral.sql(_:)
...
This is needed for custom FetchRequest types
2020-05-10 15:34:37 +02:00
Gwendal Roué
a77b195c7c
Reopen FetchRequest
2020-05-10 15:34:37 +02:00
Gwendal Roué
17e745f52b
SQLRequestProtocol, close FetchRequest
2020-05-10 15:34:37 +02:00
Gwendal Roué
a3cc5745ac
Revert "Test for the immutable flag"
...
This reverts commit 8a595be54f .
2020-05-10 15:31:56 +02:00
Gwendal Roué
8a595be54f
Test for the immutable flag
...
https://sqlite.org/uri.html#uriimmutable
2020-05-10 12:38:04 +02:00
Gwendal Roué
7f66f41026
TODO
2020-05-08 20:43:10 +02:00
Gwendal Roué
956f419b20
TODO
2020-05-08 20:41:21 +02:00
Gwendal Roué
94b4131ce4
TODO
2020-05-08 15:07:18 +02:00
Gwendal Roué
a26901cb80
Allow subqueries to refer to table aliases from parent query
2020-05-08 15:06:16 +02:00
Gwendal Roué
6b86e61056
Cool URIs don't change
2020-05-06 18:38:36 +02:00
Gwendal Roué
e4803c1e0c
Cleanup SQLITE_FCNTL_PERSIST_WAL tests
2020-05-06 13:25:59 +02:00
Gwendal Roué
db7fb96142
Tests for persistent WAL mode
...
Tests for SQLITE_FCNTL_PERSIST_WAL: https://www.sqlite.org/c3ref/c_fcntl_begin_atomic_write.html#sqlitefcntlpersistwal
2020-05-06 08:55:27 +02:00