605 Commits
Author SHA1 Message Date
Gwendal Roué 581bc9f27c Support for partial records whose encode(to:) method does not provide values for all table columns 2017-07-13 11:03:23 +02:00
Gwendal Roué cc33b12b0d DatabaseReader.unsafeReentrantRead 2017-07-13 09:11:21 +02:00
Gwendal Roué 380b6676a6 Statement.sql trims white space and semicolon 2017-07-12 08:45:56 +02:00
Gwendal Roué 5f2d6f8e2f Table creation API enhancements 2017-07-01 16:44:33 +02:00
Gwendal Roué bd919e5209 DatabaseAggregate (fixes #236) 2017-07-01 11:39:52 +02:00
Gwendal Roué d12dad2e34 Deprecate TableMapping.primaryKeyRowComparator 2017-06-30 07:47:13 +02:00
Gwendal Roué 9609e2ac4c Database.foreignKeys(on:) 2017-06-20 07:54:19 +02:00
Gwendal Roué 31aea350cb Rename Database.afterCommit(_:) to Database.afterNextTransactionCommit(_:) 2017-06-20 07:54:19 +02:00
Gwendal Roué b43dc1ba37 Less TODO 2017-06-20 07:54:19 +02:00
Gwendal Roué f40a685ac9 Update performance tests for FMDB 2.7.2 2017-06-20 07:54:19 +02:00
Gwendal Roué 7b0659332b Realm 2.8.2 2017-06-20 07:54:19 +02:00
Gwendal Roué 19812cb015 SQLite.swift 0.11.3, FMDB 2.7.2 2017-06-20 07:54:19 +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é 0c192fcb57 DatabaseMigrator.migrate(_:upTo:) 2017-06-20 07:54:19 +02:00
Gwendal Roué e24cb1783c Change default transaction kind to deferred (the SQLite default). 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é 604cf6b522 Remove QueryInterfaceRequest.contains(_:) 2017-06-20 07:54:19 +02:00
Gwendal Roué b3d731b040 Remove QueryInterfaceRequest.exists() 2017-06-20 07:54:19 +02:00
Gwendal Roué 60e6c7d250 Remove DatabaseCoder 2017-06-20 07:54:19 +02:00
Gwendal Roué 60a23bb280 More Xcode-9 fixes 2017-06-09 06:44:26 +02:00
Gwendal Roué 10e669423f Use the dbValue identifier for variables of type DatabaseValue 2017-06-01 08:35:14 +02:00
Gwendal Roué b5beff5030 Fix SelectStatementTests.testSelectionInfo SPM test 2017-05-28 13:15:41 +02:00
Gwendal Roué d1d1a5da77 Improve SelectionInfo for SQLite 3.19.0 2017-05-28 13:15:41 +02:00
Gwendal Roué 1fb7f9ff5b Disable query tracing inside EncryptionTests.testExportPlainTextDatabaseToEncryptedDatabase (workaround https://github.com/sqlcipher/sqlcipher/issues/216) 2017-05-28 11:40:26 +02:00
Gwendal Roué 7eecb059e6 Disable EncryptionTests.testExportPlainTextDatabaseToEncryptedDatabase until https://github.com/sqlcipher/sqlcipher/issues/216 is fixed 2017-05-28 11:40:26 +02:00
Gwendal Roué 2ef547c461 Fix flaky busy handler tests 2017-05-27 15:04:27 +02:00
Gwendal Roué a34784ca73 TODO: Fix flaky ConcurrencyTests.testReaderInDeferredTransactionDuringDefaultTransaction 2017-05-25 23:02:31 +02:00
Gwendal Roué 9cb8b205c5 Rewrite tests that check that closing a connection does not break unclosed statements (this should fix #216, for good this time!) 2017-05-25 19:25:47 +02:00
Gwendal Roué a35c453423 Fix flaky test ConcurrencyTests.testBusyCallback 2017-05-25 18:54:02 +02:00
Gwendal Roué 4886f43463 Rewrite tests that check that closing a connection does not break unclosed statements (this should fix #216) 2017-05-25 18:39:38 +02:00
Gwendal Roué 929c8ac2b5 GRDB has no longer iterators, but cursors 2017-05-25 18:23: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é f858bcbe5b Rename Request.fetching(_:) to Request.asRequest(of:) 2017-05-22 18:55:51 +02:00
Gwendal Roué cd107711a9 Rename Request.bound(to:) to Request.fetching(_:) 2017-05-22 18:37:46 +02:00
Gwendal Roué ce4c20b112 Replace DatabaseWriter.availableDatabaseConnection with unsafeReentrantWrite() 2017-05-22 18:10:19 +02:00
Gwendal Roué 1e12068e64 DatabaseEventKind.impacts(_ selectionInfo:SelectStatement.SelectionInfo) now returns an non-optional boolean. 2017-05-22 13:53:59 +02:00
Gwendal Roué 1799fe1ff9 Consistently crash for all failed conversions from DatabaseValue 2017-05-22 13:51:39 +02:00
Gwendal Roué 798b1a7d2e Tests for DatabaseEventKind.impacts(_ selectionInfo: SelectStatement.SelectionInfo) and triggers. 2017-05-10 13:35:55 +02:00
Gwendal Roué e484e4c6de Tests for DatabaseEventKind.impacts(_ selectionInfo: SelectStatement.SelectionInfo) and foreign keys. 2017-05-10 13:26:57 +02:00
Gwendal Roué f606e633da Drop RowConvertible.awakeFromFetch 2017-05-05 13:20:37 +02:00
Gwendal Roué 4938568ea7 Refactor statement cache, allow SQLRequest to use cached statements 2017-05-04 20:11:45 +02:00
Gwendal Roué 96c3dadb7b Tests/README.md 2017-04-23 18:38:17 +02:00
Gwendal Roué a475cfa340 Tests organization 2017-04-23 16:37:59 +02:00
Gwendal Roué e54cec9123 Move tests to Swift Package Manager test target 2017-04-23 15:47:16 +02:00
Gwendal Roué 595408b351 Rename logErrorFunction into logError 2017-04-22 17:57:33 +02:00
Gwendal Roué 4f14fb0ccd Support for SQLITE_CONFIG_LOG via Database.logErrorFunction 2017-04-22 15:11:01 +02:00
Gwendal Roué 9b2a8f847f Remove some useless availability checks in tests 2017-04-22 15:04:47 +02:00
Gwendal Roué 1810edfa6e Sample SPM executable 2017-04-11 13:58:41 +02:00
Gwendal Roué 17a49b5d8c New public property: DatabaseWriter.availableDatabaseConnection. This new API opens the door to reentrant uses of the database, a much needed tool for RxGRDB. 2017-04-06 11:02:49 +02:00