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
Gwendal Roué
9bfe893908
DatabaseWriter.concurrentRead replaces readFromCurrentState
2018-09-09 13:12:35 +02:00
Gwendal Roué
03a781075e
Cleanup
2018-09-06 08:50:56 +02:00
Gwendal Roué
60afc9ee06
Tweak existence checks for tables, views and triggers
2018-09-06 08:31:27 +02:00
Gwendal Roué
22165984c3
Cursor.isEmpty()
2018-09-06 08:29:57 +02:00
Gwendal Roué
e5cd3a8994
SE-0206
2018-08-30 16:34:30 +02:00
Gwendal Roué
83c257822b
FTS5: Swift / OS version checks extravaganza
...
With a big thank you to @hartbit for providing a ready-made solution
2018-08-30 16:34:30 +02:00
Gwendal Roué
d58586a18e
Enable FTS5 on iOS 12
...
Thanks to @jrose-apple for the nice tip that avoids code duplication
2018-08-30 16:34:30 +02:00
Gwendal Roué
ff595eeaef
Compile with both Swift 4.1 and Swift 4.2
2018-08-30 16:34:30 +02:00
Gwendal Roué
d9989fc442
FetchableRecord+Decodable: fix a few corner cases
2018-08-26 15:14:20 +02:00
Gwendal Roué
566f42e8d0
Remove useless conversion contexts
2018-08-26 14:07:36 +02:00
Gwendal Roué
f159927724
SE-0075
2018-08-26 12:07:19 +02:00