Gwendal Roué
047a95f2c9
Improve sample code
2018-10-05 18:50:34 +02:00
Gwendal Roué
7508811e40
Fix typo
2018-10-05 18:50:34 +02:00
Gwendal Roué
2ae8e236c0
Aggregates are no longer a missing association feature :-)
2018-10-05 18:50:34 +02:00
Gwendal Roué
a13903e7a1
Documentation
2018-10-05 18:50:34 +02:00
Gwendal Roué
c25bc1d5fa
Documentation
2018-10-05 18:50:34 +02:00
Gwendal Roué
d004372b63
More cleanup
2018-10-05 18:50:34 +02:00
Gwendal Roué
789248e369
minor
2018-10-05 18:50:34 +02:00
Gwendal Roué
3404cc574b
CHANGELOG
2018-10-05 18:50:34 +02:00
Gwendal Roué
2ca049c2e4
Cleanup
2018-10-05 18:50:34 +02:00
Gwendal Roué
89054c8165
typo
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é
f69c79bc1a
typo
2018-10-05 18:50:34 +02:00
Gwendal Roué
82765aba1d
typo
2018-10-05 18:50:34 +02:00
Gwendal Roué
bcc177ff7d
typo
2018-10-05 18:50:34 +02:00
Gwendal Roué
3bfef630f9
typo
2018-10-05 18:50:34 +02:00
Gwendal Roué
6a6d58da6c
typo
2018-10-05 18:50:34 +02:00
Gwendal Roué
6e7065de36
Annotation documentation
2018-10-05 18:50:34 +02:00
Gwendal Roué
f60152ed2e
Add Inflections.swift to GRDBWatchOS
2018-10-05 18:50:34 +02:00
Gwendal Roué
f6b0c0cc65
Rename test
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é
5d70ef93c8
Test that filter(key:), orderByPrimaryKey(), and groupByPrimaryKey() capture the table name
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é
83453e1b11
Make private a test helper class
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é
fc692bdb8a
Merge pull request #427 from groue/feature/cursor-reset
...
Have cursors reset SQLite statements in deinit
2018-10-05 12:23:08 +02:00
Gwendal Roué
d963e688be
CHANGELOG
2018-10-05 08:24:34 +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é
ad61c72988
Remove two invalid tests that use cursor outside of their protected dispatch queue
2018-10-05 08:04:37 +02:00
Gwendal Roué
dd4b651938
Merge pull request #425 from groue/feature/robust-backup
...
Fix "destination database is in use " error during database backup
2018-10-04 15:59:43 +02:00
Gwendal Roué
7cd50872cf
Merge branch 'master' into development
2018-10-04 13:40:43 +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é
6c7ac25fb8
Remove Carthage from suggested contributions ( #408 and #262 have helped a lot)
2018-10-04 13:20:51 +02:00
Gwendal Roué
86cff20f99
New suggested contribution: "Records: Splitting Database Encoding from Ability to Write in the Database"
2018-10-04 13:14:29 +02:00
Gwendal Roué
7a628bf23f
Add minimal failing test for #424
2018-10-04 08:35:02 +02:00
Gwendal Roué
9e8d08f579
CHANGELOG
2018-10-04 07:59:50 +02:00
Gwendal Roué
8c3606fe4b
Fix failing test for #424
2018-10-04 07:58:36 +02:00
Gwendal Roué
01c9e9e1e1
Failing test for #424
2018-10-03 13:55:55 +02:00
Gwendal Roué
ff28c02f21
Merge branch 'master' into development
2018-10-03 13:00:02 +02:00
Gwendal Roué
1426c7fd38
New suggested contribution: Custom FTS5 Auxiliary Functions
2018-10-03 12:57:21 +02:00
Gwendal Roué
366460bc62
Merge pull request #422 from groue/feature/AssociationMerge
...
Refining Association Requests
2018-09-30 16:39:33 +02:00
Gwendal Roué
16c62999fa
More merging tests (and fix a bug with ordering)
2018-09-30 15:10:54 +02:00
Gwendal Roué
2cd3a7e0c9
High-level test for association request refining
...
Here we test the sample code in AssociationBasics.md
2018-09-30 14:51:52 +02:00
Gwendal Roué
9958e7b96c
Documentation and cleanup
2018-09-30 13:57:31 +02:00
Gwendal Roué
8319c70315
CHANGELOG
2018-09-30 13:32:44 +02:00
Gwendal Roué
45ff5f2fa1
One less known issue with associations :-)
2018-09-30 13:23:35 +02:00
Gwendal Roué
df51d2887a
Documentation tweaks
2018-09-30 13:22:05 +02:00
Gwendal Roué
9c37237f7b
New "Refining Association Requests" documentation chapter
2018-09-30 13:16:57 +02:00
Gwendal Roué
6ecb7a40d0
associations are not merged when they don't have the same key
2018-09-30 06:48:20 +02:00
Gwendal Roué
52ec6c6cd2
Merge associations:
2018-09-30 06:35:15 +02:00