Gwendal Roué
0330365d49
Merge branch 'development'
v5.16.0
2021-12-05 16:59:59 +01:00
Gwendal Roué
ca2f36781e
v5.16.0
2021-12-05 16:59:37 +01:00
Gwendal Roué
6c7f71f620
Fix typo
2021-12-05 16:47:32 +01:00
Gwendal Roué
60bf5d30b0
Merge pull request #1106 from groue/dev/annotated-with-association
...
Sugar for fetching only a few columns of associated records
2021-12-05 16:41:49 +01:00
Gwendal Roué
94caf4ba97
todo: find a way to prefix the selection with the association key
2021-12-05 15:53:59 +01:00
Gwendal Roué
a7002e1e09
Enhance "Columns Selected by an Association"
2021-12-05 15:22:07 +01:00
Gwendal Roué
54a991b3b9
Emphasize sections
2021-12-05 15:15:38 +01:00
Gwendal Roué
54ca12437a
CHANGELOG
2021-12-05 15:10:25 +01:00
Gwendal Roué
3298cca75f
Rewrite the Joining And Prefetching Associated Records chapter
2021-12-05 15:10:25 +01:00
Gwendal Roué
4fe0b687d2
Documentation for annotated(withOptional:), annotated(withRequired:)
2021-12-05 15:04:51 +01:00
Gwendal Roué
9df0f4cdbd
Inline documentation for annotated(withOptional:), annotated(withRequired:)
2021-12-05 15:04:44 +01:00
Gwendal Roué
e1dc24ac93
Update examples with Team/Player
2021-12-04 10:01:31 +01:00
Gwendal Roué
88e60ed0c6
Update FAQ: How do I select only one column of an associated record?
2021-12-04 09:50:16 +01:00
Gwendal Roué
b4ca103002
Tests for annotated(withOptional:), annotated(withRequired:)
2021-12-04 09:49:23 +01:00
Gwendal Roué
564c4cef5c
annotated(withOptional:), annotated(withRequired:)
2021-12-03 19:24:56 +01:00
Gwendal Roué
7a77a1fd06
Merge branch 'development'
v5.15.0
2021-12-02 19:43:04 +01:00
Gwendal Roué
c7291db360
v5.15.0
2021-12-02 18:48:36 +01:00
Gwendal Roué
a52d1b1d21
Merge pull request #1102 from groue/dev/ValueObservation-explicit-region-tracking
...
Explicit tracked region for ValueObservation
2021-12-02 18:40:40 +01:00
Gwendal Roué
89b1783220
TrackingMode is a property of ValueObservation
...
No reducer changes the tracking mode, so let's simplify the code.
2021-12-02 17:22:18 +01:00
Gwendal Roué
76d2168988
Extend the general description of ValueObservation behavior
...
Link to the ability to track something which is not the fetched region.
2021-12-02 17:22:18 +01:00
Gwendal Roué
e419bb55ca
Enhance documentation of DatabaseRegion
2021-12-02 17:22:18 +01:00
Gwendal Roué
06eb45db65
Documentation for ValueObservation(region:fetch:)
2021-12-02 17:22:18 +01:00
Gwendal Roué
6180e4b815
Fix for Swift 5.3
2021-12-02 17:22:18 +01:00
Gwendal Roué
85747935c8
ValueObservation can track an explicit database region
2021-12-02 17:22:18 +01:00
Gwendal Roué
36fba9a79a
TODO: deprecate DatabaseRegion(table:)
...
We have `Table` now, wich is DatabaseRegionConvertible.
This deprecation will revert https://github.com/groue/GRDB.swift/pull/510
2021-12-02 17:21:58 +01:00
Gwendal Roué
6240585a03
Make sure ValueObservation fetches in an isolated transaction
...
Previously, ValueObservation could fetch in a non-isolated way. When an external connection would commit changes, we could fetch inconsistent values. Here we make sure ValueObservation always fetch in an isolated way.
2021-12-02 09:46:02 +01:00
Gwendal Roué
ad66fbc666
ValueObserver documentation
2021-12-02 09:46:02 +01:00
Gwendal Roué
e69092ca6a
Add DatabaseRegionConvertible to Table
2021-12-02 09:45:38 +01:00
Gwendal Roué
bb2ce74125
Add helper method Database.isolated(readOnly:)
2021-12-02 09:45:28 +01:00
Gwendal Roué
06bf3980b6
Fix documentation links
2021-12-02 09:17:36 +01:00
Gwendal Roué
6dc7367853
Merge branch 'development'
v5.14.0
2021-11-25 18:29:23 +01:00
Gwendal Roué
4228df9c06
v5.14.0
2021-11-25 18:23:31 +01:00
Gwendal Roué
ca9fd1f8e6
CHANGELOG
2021-11-25 18:18:15 +01:00
Gwendal Roué
1fbf2f8693
GRDBCombineDemo uses the GRDBQuery package
2021-11-25 17:26:19 +01:00
Gwendal Roué
5d87609f4b
Ignore .swiftpm
2021-11-25 15:08:53 +01:00
Gwendal Roué
13a040ae1b
CHANGELOG
2021-11-18 08:39:01 +01:00
Gwendal Roué
d8b83fba12
improve compilation time
2021-11-18 08:34:59 +01:00
Gwendal Roué
93c4249619
ForeignKeyViolation.databaseError(_:)
2021-11-16 08:51:33 +01:00
Gwendal Roué
ebc8524706
Add missing public qualifiers
2021-11-16 08:45:34 +01:00
Gwendal Roué
ea41f34f3d
Quote table name in raw SQL query
2021-11-16 08:40:16 +01:00
Gwendal Roué
59f9482aa7
Fix links to documentation images
2021-11-07 16:29:17 +01:00
Gwendal Roué
8658b7bc10
Merge branch 'development'
v5.13.0
2021-11-07 16:20:59 +01:00
Gwendal Roué
42eeb54d6f
v5.13.0
2021-11-07 16:06:50 +01:00
Gwendal Roué
fe32981e0e
Performance report: fallback for hardware name
...
The https://apple.stackexchange.com/a/98089 technique does not work on my mac
2021-11-07 16:06:50 +01:00
Gwendal Roué
0c9de25a8c
Bump number of operations performed by performance tests
...
Apple Silicon and SSD are too fast, and we need to display higher numbers
2021-11-07 16:06:50 +01:00
Gwendal Roué
2b5d3f1d72
Upgrade Realm version in performance tests
2021-11-07 16:06:50 +01:00
Gwendal Roué
9da2e66e46
Fix flaky test
2021-11-07 14:58:18 +01:00
Gwendal Roué
23a9b6e1ae
Makefile: test BUILD_LIBRARY_FOR_DISTRIBUTION & XCFramework
2021-11-07 11:13:35 +01:00
Gwendal Roué
03822bdf99
Makefile: skip test_framework_GRDBtvOS_minTarget until simulator is installed
2021-11-07 10:45:03 +01:00
Gwendal Roué
b0c77a5e0f
Makefile: tests for demo apps
2021-11-07 10:41:12 +01:00