Commit Graph
1244 Commits
Author SHA1 Message Date
Gwendal Roué c734eba245 Upgrade performance tests
Upgrade Realm to v3.17.3
Upgrade FMDB to v2.7.4
Upgrade SQLite.swift to v0.12.2
2019-08-05 20:56:49 +02:00
Gwendal Roué 87b474029e Test that observations of tuples are easy to consume. 2019-08-05 12:31:39 +02:00
Gwendal Roué 0f2c5cd8a0 Fix failling test for rowid optimization in Database.recordingSelectedRegion 2019-08-04 14:37:40 +02:00
Gwendal Roué 9c864bc768 Failling test for rowid optimization in Database.recordingSelectedRegion 2019-08-04 14:37:10 +02:00
Gwendal Roué dc146a431c Tests for Database.recordingSelectedRegion 2019-08-04 14:36:20 +02:00
Gwendal Roué c4481f4e79 Fix ValueObservationRegionRecordingTests for SQLite < 3.19.0 2019-08-04 10:44:08 +02:00
Gwendal Roué 731a83908d Test automatic ValueObservation region tracking with various schedulings 2019-08-03 18:03:05 +02:00
Gwendal Roué a5c8f23ba4 Support for variable observed region of ValueObservation based on actual selection 2019-08-03 16:32:33 +02:00
Gwendal Roué 55803b29b0 Keep a memory of how to trigger #583 error 2019-08-02 17:56:47 +02:00
Gwendal Roué 870d22fd95 Explain why we call sqlite3_set_authorizer once per database connection 2019-08-02 16:06:19 +02:00
Gwendal Roué bb959fa5c3 Add failing test for #583 2019-08-02 14:14:48 +02:00
Gwendal Roué 507ae0dfdc Tests for framework & static CocoaPods integration 2019-07-30 16:33:20 -07:00
Gwendal Roué 53aaca480e Merge branch 'development' into dev/fullltext
# Conflicts:
#	CHANGELOG.md
2019-07-27 23:11:00 +02:00
Gwendal Roué ede4572da3 Update tests for the new forKey(_:) methods 2019-07-27 16:34:17 +02:00
Gwendal Roué 52cd98547d Fix DerivableRequest.matching(_:) tests so that OSX 10.0 is not required 2019-07-27 15:58:33 +02:00
Gwendal Roué 462e5eee24 Cleanup 2019-07-27 15:23:29 +02:00
Gwendal Roué 026db8f19a Tests for TableRequest requirement on DerivableRequest, including the new support for full-text search 2019-07-27 15:23:29 +02:00
Gwendal Roué 56d355c903 The kiss of Xcode 10.3 2019-07-26 21:09:19 +02:00
Gwendal Roué df6bb8761c Swiftlint + whitespace 2019-07-01 08:57:53 +02:00
Gwendal Roué 2b401fe745 We don't really care about useless LEFT JOINs 2019-06-29 15:32:13 +02:00
Gwendal Roué 3e4c6fd102 Add more eager loading SQL tests (and spot a possible optimization) 2019-06-29 15:21:24 +02:00
Gwendal Roué 9946880c5e Add tests for including(optional: hasOne.including(all: hasMany)) 2019-06-29 14:12:46 +02:00
Gwendal Roué 036e236dc0 Failing test for #561 2019-06-28 19:01:58 +02:00
Gwendal Roué 3cea3db2b4 DatabasePool.asyncConcurrentRead 2019-06-17 19:35:11 +02:00
Gwendal Roué 68d4889864 Ignore various Podfile.lock 2019-06-15 14:14:45 +02:00
Gwendal Roué e40e37bd04 FetchRequest.makePreparedRequest 2019-06-15 04:24:29 +02:00
Gwendal Roué f03fd276f1 asyncWrite's completion handler accepts a database connection
This guarantees that the asyncWrite method provides exclusive write access for the whole duration of (transaction + result handling).
2019-06-14 08:03:13 +02:00
Gwendal Roué f7946834f1 Fix compiler checks for async methods 2019-06-13 14:14:35 +02:00
Gwendal Roué 0ad819902d Tests for asyncRead, asyncWrite, asyncWriteWithoutTransaction 2019-06-13 13:42:31 +02:00
Gwendal Roué 085f4c9597 removeDuplicates 2019-06-12 19:48:32 +02:00
Gwendal Roué 44138c433f Refactor ValueObservation scheduling 2019-06-11 21:45:27 +02:00
Gwendal Roué f502db40b0 combine instance method 2019-06-10 23:24:02 +02:00
Gwendal Roué 86f7ab74a7 More ValueReducers namespacing 2019-06-10 22:18:20 +02:00
Gwendal Roué da34694663 observationForCount, observationForAll, observationForFirst 2019-06-10 20:19:00 +02:00
Gwendal Roué aca4db2c96 Move reducers to the ValueReducers namespace 2019-06-09 11:43:44 +02:00
Gwendal Roué 3971058dd8 Hide request from DatabaseValue reducers 2019-06-08 17:28:01 +02:00
Gwendal Roué 416d2cae1e Make sure ValueObservation.combine results can be splatted 2019-06-06 19:08:22 +02:00
Gwendal Roué ac85ffff84 Database.readOnly is reentrant 2019-06-06 18:58:44 +02:00
Gwendal Roué e3d2559b9d Add tests for combining up to 8 ValueObservation 2019-06-05 08:58:42 +02:00
Gwendal Roué 872f394339 Move eager loading of hasMany associations to FetchRequest 2019-06-01 16:08:05 +02:00
Gwendal Roué fb9244e5bb Foster DerivableRequest in GoodPracticesForDesigningRecordTypes.md 2019-05-29 13:48:06 +02:00
Gwendal Roué 03d9727f61 Add tests for joining methods added on DerivableRequest 2019-05-29 09:00:28 +02:00
Gwendal Roué b0e140d4bb Add two safety tests for parenthesis 2019-05-28 08:03:33 +02:00
Gwendal Roué 5bb54f0049 Less parenthesis in SQL interpolation 2019-05-27 07:59:11 +02:00
Gwendal Roué 1d75863c9a Also turn SQLAssociationCondition SQL expression into an array 2019-05-26 21:46:19 +02:00
Gwendal Roué 6fa452b68c Fix joined(operator:) 2019-05-26 20:46:11 +02:00
Gwendal Roué ab000d7a4f Remove useless expression parenthesis from SQL 2019-05-26 20:08:13 +02:00
Gwendal Roué 680f3ad20c Nicer WHERE, HAVING and ON output 2019-05-26 15:32:00 +02:00
Gwendal Roué 48017b2de2 Update tests for GRDB/SQLCipher 2019-05-25 18:55:09 +02:00
Gwendal Roué 203130da31 Test that merging of HasManyThrough happens on the pivot key 2019-05-24 19:02:15 +02:00