Commit Graph
1205 Commits
Author SHA1 Message Date
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
Gwendal Roué af4a83115b Ttest for parallel inclusion of hasManyThrough(_, through: hasOne, via: hasMany) 2019-05-24 18:56:54 +02:00
Gwendal Roué 6e7a923d6e Failing test for parallel inclusion of hasManyThrough(_, through: belongsTo, via: hasMany) 2019-05-24 13:17:47 +02:00
Gwendal Roué db4598d881 performance tests update 2019-05-23 19:26:30 +02:00
Gwendal Roué 4368c529fa Realm 3.15.0 2019-05-23 13:49:01 +02:00
Gwendal Roué bf40e77d9c stephencelis/SQLite.swift 0.12.0 2019-05-23 13:38:25 +02:00
Gwendal Roué e201dd21ac Enhance Inflections setup APIs 2019-05-23 08:23:30 +02:00
Gwendal Roué d2b9137548 Stop fostering CodingKeys that adopt ColumnExpression. Expose Column(CodingKey) initializer instead 2019-05-22 13:42:26 +02:00
Gwendal Roué dec80ac300 Give a default name to the isEmpty aggregate 2019-05-22 13:19:47 +02:00
Gwendal Roué 21d2df9ade New SQL interpolation "... \(tableOf: record) ..." (addresses #524) 2019-05-22 08:53:50 +02:00
Gwendal Roué e4498b2784 contains operator generates SQL equality test when collection contains a single element 2019-05-22 08:13:42 +02:00
Gwendal Roué 9691adc0bb Failing test for observation of QueryInterfaceRequest with prefetched rows 2019-05-21 20:26:30 +02:00
Gwendal Roué 059ae19974 QueryInterfaceRequest unconditionnally conforms to TableRequest 2019-05-21 19:18:26 +02:00
Gwendal Roué a4a26e01e7 SelectionRequest.annotated(with:) 2019-05-21 08:05:07 +02:00
Gwendal Roué 7674f2f522 Association prefetching: add support for composite foreign keys 2019-05-20 19:35:50 +02:00
Gwendal Roué c841120d3b Cleanup 2019-05-20 19:18:27 +02:00
Gwendal Roué 69baff31ef Remove a hack: merging hasMany and hasManyThrough with include(all:) is simply not supported yet 2019-05-20 19:03:43 +02:00
Gwendal Roué 403e5ab058 Fix SPM tests 2019-05-20 14:29:54 +02:00
Gwendal Roué 844fb3ca8b Fix iOS9 test 2019-05-20 12:15:50 +02:00
Gwendal Roué 5f3b879efd Association documentation and tests 2019-05-19 20:27:13 +02:00
Gwendal Roué 5b15a88974 Fix HasManyThrough row scopes 2019-05-19 19:59:28 +02:00
Gwendal Roué ada6002c91 Cleanup 2019-05-19 18:50:13 +02:00
Gwendal Roué 09afd2fadf Tests for singularization of hasMany relationship 2019-05-19 18:20:55 +02:00
Gwendal Roué fe0198f453 Cleanup 2019-05-19 16:22:39 +02:00
Gwendal Roué 73773358c9 Tests for non-inflected singular 2019-05-19 16:06:36 +02:00
Gwendal Roué 8e2a8fe9d8 More Associations and inflections 2019-05-19 15:03:54 +02:00
Gwendal Roué a1b0baaca9 leaf, foot, hero 2019-05-19 13:55:38 +02:00
Gwendal Roué 15dd4fc477 Inflections Cleanup 2019-05-19 13:36:29 +02:00
Gwendal Roué 52add837e5 More inflections 2019-05-19 13:06:56 +02:00
Gwendal Roué 637c94b265 Pluralize/Singularize last word 2019-05-19 08:38:11 +02:00
Gwendal Roué ca76032b8b Association name is turned into singularized or pluralized keys 2019-05-19 07:33:18 +02:00
Gwendal Roué cdcaaa4b77 Irregularity 2019-05-18 19:49:30 +02:00
Gwendal Roué d2c33715d0 String.pluralized, String.singularized 2019-05-18 19:48:51 +02:00
Gwendal Roué 5113d08ce3 AssociationPrefetchingSQLTests: no need for association keys 2019-05-18 16:02:00 +02:00
Gwendal Roué 27cbe18c51 Pass tests for database region of prefetching requests 2019-05-18 14:09:00 +02:00
Gwendal Roué 670bca00b0 Failing tests for database region of prefetching requests 2019-05-17 18:23:28 +02:00
Gwendal Roué d23f4c3ac7 Prevent fetching cursor of prefetched rows with a "Not implemented" fatal error 2019-05-17 18:10:26 +02:00
Gwendal Roué 3786482368 Add unordered() to OrderedRequest 2019-05-17 17:53:25 +02:00
Gwendal Roué 5f36b43441 Tests for Row.debugDescription with prefetched rows 2019-05-17 16:55:25 +02:00
Gwendal Roué eb977e9391 Make Row.PrefetchedView order predictible 2019-05-17 16:53:43 +02:00