Gwendal Roué
836efb120f
Xcode 12.3 formatting
2020-12-23 12:13:05 +01:00
Gwendal Roué
ed32e44bc2
DRY
2020-12-23 10:31:16 +01:00
Gwendal Roué
51991213ef
Stop observing pragma tables
2020-12-23 10:09:00 +01:00
Gwendal Roué
07092169bf
Documentation
2020-07-12 14:17:58 +02:00
Gwendal Roué
27120643b9
SE-0255: Implicit returns from single-expression functions
2020-04-09 17:16:23 +02:00
Gwendal Roué
56f332122d
The observed region is always recorded
2020-03-24 22:59:07 +01:00
Gwendal Roué
9aa67f9db9
SE-0255: Implicit returns from single-expression functions
2020-03-08 23:12:46 +01:00
Gwendal Roué
aa1cfb9020
Fix testSynchronizedFTS4Observation
2019-09-26 08:49:44 +02:00
Gwendal Roué
0d961ce48e
Simplify DatabaseRegion.iisModified(by:)
...
There is no "fast path" any longer. Performance impact should be minimal since most observers call `stopObservingDatabaseChangesUntilNextTransaction` on first impactful change anyway.
2019-09-26 06:55:54 +02:00
Gwendal Roué
1b753802dd
Address #620 , but a failing test remains
2019-09-25 20:03:00 +02:00
Gwendal Roué
0f2c5cd8a0
Fix failling test for rowid optimization in Database.recordingSelectedRegion
2019-08-04 14:37:40 +02:00
Gwendal Roué
af0ac156aa
More explicit observation initializers
2019-08-03 14:21:46 +02:00
Gwendal Roué
df6bb8761c
Swiftlint + whitespace
2019-07-01 08:57:53 +02:00
Gwendal Roué
212290bbf9
Make DatabaseRegion documentation less detailed
2019-04-09 19:23:50 +02:00
Matthew Chen
0561b7de5d
Respond to CR.
2019-04-05 09:50:07 -04:00
Matthew Chen
9f41277bd4
Make more DatabaseRegion initializers public; elaborate docs.
2019-04-05 09:47:08 -04:00
Matthew Chen
9f4cad4134
Make DatabaseRegion initializer public to enable observation of tables.
2019-04-05 09:47:08 -04:00
Gwendal Roué
a0c85f093c
Remove all @inline(__always)
2019-02-23 13:37:00 +01:00
Gwendal Roué
36ce78bd37
Explicit sql argument label when building prepared statements
2019-02-17 13:28:41 +01:00
Gwendal Roué
03934041c2
Fix DatabaseRegion doc layout
2018-12-06 18:41:43 +01:00
Gwendal Roué
87c4775421
ValueObservation creates a reducer when its starts
2018-11-25 14:26:04 +01:00
Gwendal Roué
ead2b13362
Optimize value observation for views that feed from a single table
...
By removing views from the observed database region, we allow the "single-table observation optimization" to kick in.
Thank you @foxware00 for revealing this opportunity in #441 :-)
2018-11-17 16:29:31 +01:00
Gwendal Roué
d3fd838c6c
DatabaseRegion cleanup and documentation
...
Goal: improve understanding of observation performance.
Context: https://github.com/groue/GRDB.swift/issues/441
2018-11-17 12:46:01 +01:00
Gwendal Roué
09581c6ae0
ValueObservation factory requires a DatabaseRegionConvertible. Introduce AnyDatabaseRegionConvertible.
2018-10-28 11:45:49 +01:00
Gwendal Roué
ce95ff7278
Move towards observation from reader
2018-10-24 19:17:11 +02:00
Gwendal Roué
33927e7f4d
FetchResultsObserver
2018-10-23 13:24:46 +02:00
Gwendal Roué
86f084cb3e
Fix DatabaseRegion inline documentation
2018-05-21 08:27:47 +02:00
Gwendal Roué
5d7245af2a
Fix DatabaseRegion documentation formatting
2018-05-21 08:26:06 +02:00
Gwendal Roué
214748fe5a
DatabaseRegion.fullDatabase is public
2018-05-06 09:11:00 +02:00
Gwendal Roué
2d008b8c54
Yet another request protocols update, in order to empower RxGRDB
2018-05-05 11:57:17 +02:00
Gwendal Roué
1bf7f67008
Update inline documentation with singular table names
2018-05-01 20:32:18 +02:00
Gwendal Roué
5747d1cff0
No more #if swift(>=4.1)
2018-04-30 08:26:23 +02:00
Gwendal Roué
1cbe60a13f
Better checks for Swift < 4.1 (thanks @hartbit!)
2018-03-12 18:33:06 +01:00
Gwendal Roué
a75e519294
SE-0185: let Swift 4.1 generate as much Equatable and Hashable conformance as possible
2018-03-12 18:20:10 +01:00
Gwendal Roué
2289ed9d95
Cleanup Jazzy documentation from most redundant definitions and experimental APIs
2018-01-21 16:57:43 +01:00
Gwendal Roué
c4ef161a83
Rename Statement.region and Request.region to fetchedRegion
2018-01-17 06:54:10 +01:00
Gwendal Roué
714cc1c734
DatabaseRegion() is public
2018-01-16 19:57:30 +01:00
Gwendal Roué
8d0da7f870
DatabaseRegion documentation
2018-01-16 18:47:59 +01:00
Gwendal Roué
e42e74103d
DatabaseRegion documentation
2018-01-16 18:46:55 +01:00
Gwendal Roué
938977bbca
Cleanup DatabaseRegion: no more public intersection, no more public way to specify rowids
2018-01-16 13:58:55 +01:00
Gwendal Roué
0a7468f56d
Cleanup
2018-01-16 08:34:54 +01:00
Gwendal Roué
33b5c6c616
Rename DatabaseSelectionInfo to DatabaseRegion
2018-01-16 08:23:08 +01:00