Gwendal Roué
052d2e3008
Value (string, int, etc.) observation, with uniquing
2018-10-27 16:41:42 +02:00
Gwendal Roué
de227bdce1
Bake uniquing right into ValueObservation: introduce ValueReducer
2018-10-27 16:12:42 +02:00
Gwendal Roué
697b2af61d
Wrap long lines
2018-10-27 05:11:19 +02:00
Gwendal Roué
ff4f6f3b12
Cleanup
2018-10-27 04:59:24 +02:00
Gwendal Roué
31b688d801
ValueObservationn has a QoS
2018-10-27 04:24:17 +02:00
Gwendal Roué
f694437f5b
Add missing public qualifiers
2018-10-27 04:23:45 +02:00
Gwendal Roué
69853d7901
Now that user implementations of DatabaseWriter are no longer supported...
...
...stop pretending we have to implement concurrentRead
on top of the deprecated readFromCurrentState.
And this fixes #419 :-)
2018-10-26 16:53:30 +02:00
Gwendal Roué
9c71356e3d
Honor ValueObservation.readonly
2018-10-26 09:10:26 +02:00
Gwendal Roué
2341523c41
API cleanup
2018-10-26 08:50:59 +02:00
Gwendal Roué
0df4815086
Move ValueObservation support to DatabaseReader
2018-10-25 20:39:04 +02:00
Gwendal Roué
fe0f238f32
Cleanup
2018-10-25 08:49:57 +02:00
Gwendal Roué
fda04a105d
ValueObservation: extract callbacks
2018-10-25 08:39:52 +02:00
Gwendal Roué
e5d97c15ad
Looking for a good API
2018-10-25 08:05:55 +02: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é
2938a95270
Inline documentation
2018-10-08 08:24:14 +02:00
Gwendal Roué
5736cd2740
CHANGELOG
2018-10-07 19:59:35 +02:00
Gwendal Roué
704da35576
aliased(CodingKey), annotated(with: aggregate, ...), count and isEmpty are now properties
2018-10-07 16:20:13 +02:00
Gwendal Roué
2774aaf292
aggregate alias cleanup
2018-10-07 15:40:38 +02:00
Gwendal Roué
8ffeb28b02
Tests for association aggregate operators
2018-10-07 15:20:24 +02:00
Gwendal Roué
5f92209c59
AssociationAggregates: logic, arithmetic, and comparison operators
2018-10-07 12:22:48 +02:00
Gwendal Roué
4f8e97a07c
AssociationAggregate is now generic on its anchor type only
2018-10-07 12:08:25 +02:00
Gwendal Roué
39bc140dc8
Rename Annotation to AssociationAggregate
2018-10-07 11:39:46 +02:00
Gwendal Roué
0838d5903e
Documentation
2018-10-06 15:46:47 +02:00
Gwendal Roué
a0cd603c61
Nicer SQL generation for isEmpty annotation
2018-10-06 14:50:08 +02:00
Gwendal Roué
35ed13c940
Test for annotations in HAVING clauses
2018-10-06 14:15:35 +02:00
Gwendal Roué
2ca049c2e4
Cleanup
2018-10-05 18:50:34 +02:00
Gwendal Roué
24e8ee2d00
Stabilize annotation aliases, and allow aggregate any expression
2018-10-05 18:50:34 +02:00
Gwendal Roué
c16b2bcb57
The count annotation has to be distinct
2018-10-05 18:50:34 +02:00
Gwendal Roué
68d76eca01
Annotations: avg, min, max, sum
2018-10-05 18:50:33 +02:00
Gwendal Roué
903694d095
First annotation: HasManyAssociaton.count
2018-10-05 18:50:33 +02:00
Gwendal Roué
168d2850ab
Introduce groupByPrimaryKey()
2018-10-05 18:50:33 +02:00
Gwendal Roué
6157ab0583
Have cursors reset their statement when they are deinitialized
...
This is the real fix for #424 . GRDB used to keep unfinished SQLite statements around. Now cursors properly reset their statement when they are done. We no longer have to clear the statement cache before a backup.
2018-10-05 08:13:23 +02:00
Gwendal Roué
fc5e92954b
SQLCipher, too, can't erase a database if there are cached prepared statements.
2018-10-04 13:34:35 +02:00
Gwendal Roué
8c3606fe4b
Fix failing test for #424
2018-10-04 07:58:36 +02:00
Gwendal Roué
16c62999fa
More merging tests (and fix a bug with ordering)
2018-09-30 15:10:54 +02:00
Gwendal Roué
9958e7b96c
Documentation and cleanup
2018-09-30 13:57:31 +02:00
Gwendal Roué
52ec6c6cd2
Merge associations:
2018-09-30 06:35:15 +02:00
Gwendal Roué
ba11d7be66
Merge associations: SQL tests
2018-09-30 05:46:44 +02:00
Gwendal Roué
37a9999b35
Merge associations: including wins over joining
2018-09-29 14:37:53 +02:00
Gwendal Roué
33b40637a8
Merge associations
2018-09-29 14:16:56 +02:00
Gwendal Roué
e7fd075936
Early detection of association key conflict
2018-09-29 12:40:11 +02:00
Gwendal Roué
a5a8b2ac40
Fix failing test for custom FTS5 tokenizer in DatabasePool
...
Tokenizer are now added to new reader connections.
2018-09-22 13:00:34 +02:00
Gwendal Roué
e92c0c9aed
Hide SQLSpecificExpressible from jazzy documentation
2018-09-16 13:39:11 +02:00
Gwendal Roué
b9a878bb20
Cleanup
2018-09-11 08:56:29 +02:00
Gwendal Roué
8c479a863a
Documentation
2018-09-09 20:00:03 +02:00
Gwendal Roué
58a48b73ae
concurrentRead documentation
2018-09-09 19:55:07 +02:00
Gwendal Roué
41629ec9aa
Future.wait() must be called only once
2018-09-09 16:00:01 +02:00
Gwendal Roué
106812c02c
Fix SPM
2018-09-09 13:42:35 +02:00
Gwendal Roué
da58e228c0
Document Future
2018-09-09 13:18:15 +02:00