Gwendal Roué
a88067a815
Merge branch 'GRDB5' into dev/hasMany-first
2020-04-25 13:31:58 +02:00
Gwendal Roué
6fd3a7b225
Merge branch 'development' into GRDB5
...
# Conflicts:
# CHANGELOG.md
# README.md
2020-04-25 13:21:20 +02:00
Gwendal Roué
6b1910fce7
[skip travis] fix typo in CHANGELOG
2020-04-23 09:08:27 +02:00
Gwendal Roué
5ee47c3c27
Merge branch 'development'
v4.14.0
2020-04-23 08:56:55 +02:00
Gwendal Roué
5652a01366
v4.14.0
2020-04-23 08:55:38 +02:00
Gwendal Roué
132d01f9f7
Complete #766 : use json objects in DatabaseDateComponents tests
2020-04-22 19:33:31 +02:00
Gwendal Roué
1d760ff9ce
Extend congrats list
2020-04-22 18:45:34 +02:00
Gwendal Roué
dc4d516493
Merge pull request #766 from DiligentRobot/development
...
Add Codable support to DatabaseDateComponents
2020-04-20 19:17:07 +02:00
Matt Tancock
62c6187ad4
Remove Format's Codable conformance. Use a singleValueContainer
2020-04-20 14:42:02 +01:00
Matt Tancock
18154f29be
Simplify encoding format and add tests
2020-04-20 13:36:23 +01:00
Gwendal Roué
df4d5b8603
Back to basics, round 2: keep all children of firstOnly relations
2020-04-19 17:44:50 +02:00
Gwendal Roué
a7b8a73dba
Cleanup
...
After failed experiment:
SELECT ...
FROM parent
JOIN (SELECT * FROM child LIMIT 1) child ON child.parentId = child.id
The problem is that the join condition can't go inside the subquery, because SQLite complains about unknown table "parent". And when the join condition is outside the subquery, the LIMIT clause has been applied too early.
So we're still stuck with:
SELECT ...
FROM parent
JOIN child ON child.id = (SELECT id FROM child WHERE child.parentId = child.id LIMIT 1)
For some reason SQLite accepts the reference to the parent table in this case.
2020-04-19 14:14:13 +02:00
Gwendal Roué
278c18adfc
Cleanup
2020-04-18 20:21:14 +02:00
Gwendal Roué
cbd494e3b9
Documentation
2020-04-18 20:19:47 +02:00
Gwendal Roué
c73fb0dd9b
Back to basics
2020-04-18 20:14:27 +02:00
Gwendal Roué
c966eb3ecf
Cleanup
2020-04-18 19:09:02 +02:00
Gwendal Roué
217b0a3f3e
More failing HasManyThrough.first tests
2020-04-18 17:52:50 +02:00
Gwendal Roué
e604a10860
TODO
2020-04-18 17:06:29 +02:00
Gwendal Roué
ac4f4c6611
Improve HasMany.first tests
2020-04-18 17:06:29 +02:00
Gwendal Roué
162da80e4f
Attempt at expressing some todos
2020-04-18 17:06:29 +02:00
Gwendal Roué
315496928b
More failing HasManyThrough.first
2020-04-18 17:06:29 +02:00
Gwendal Roué
d82cbb6853
Improve HasManyThrough.first tests
2020-04-18 17:06:29 +02:00
Gwendal Roué
5fed231856
Simplify SQLAssociationCondition.filteringExpression
2020-04-18 17:06:29 +02:00
Gwendal Roué
45dfe7d7f1
More HasManyThrough.first tests
2020-04-18 17:06:29 +02:00
Gwendal Roué
c7d1cca023
Ease testing SQL by ignoring white space
2020-04-18 17:06:29 +02:00
Gwendal Roué
615f4159d6
Rename firstInMany to firstOnly
2020-04-18 17:06:29 +02:00
Gwendal Roué
8057572357
Move firstInMany flag in SQLRelation
2020-04-18 17:06:29 +02:00
Gwendal Roué
da63037948
Fix documentation
2020-04-18 17:06:29 +02:00
Gwendal Roué
2d3dafad7d
Document first and last properties, set their association key
2020-04-18 17:06:29 +02:00
Gwendal Roué
7ed967b502
Cleanup SQLAssociationCardinality and SQLAssociationStep
2020-04-18 17:06:29 +02:00
Gwendal Roué
f545789205
Avoid using the rowid column when we can use the regular primary key
2020-04-18 17:06:23 +02:00
Gwendal Roué
79373d5b74
Cleanup some old tests
2020-04-18 16:40:22 +02:00
Gwendal Roué
f97088d63a
Failing tests for HasManyThrough.first
2020-04-18 16:40:22 +02:00
Gwendal Roué
860faf19f7
HasManyThrough.first and last
2020-04-18 16:40:22 +02:00
Gwendal Roué
0f54779386
Isolate tests for hasMany.first
2020-04-18 16:40:22 +02:00
Gwendal Roué
6f125bd3d7
SQLAssociation.associationForFirst()
2020-04-18 16:40:22 +02:00
Gwendal Roué
4483f037a4
Cleanup
2020-04-18 16:40:22 +02:00
Gwendal Roué
20296652dd
More test for hasMany.first including nested associations
2020-04-18 16:40:22 +02:00
Gwendal Roué
d80922954a
Let hasMany.first include nested associations
2020-04-18 16:40:22 +02:00
Gwendal Roué
d67814ef61
Make sure hasMany.first doesn't lose information
2020-04-18 16:40:22 +02:00
Gwendal Roué
fb550d30a0
HasManyAssociation.first and last
2020-04-18 16:40:22 +02:00
Gwendal Roué
a715c6328d
Merge branch 'master' into GRDB5
...
# Conflicts:
# CHANGELOG.md
# GRDB/QueryInterface/Request/QueryInterfaceRequest.swift
# Makefile
# README.md
# Tests/Performance/GRDBPerformance/GRDBPerformance.xcodeproj/project.pbxproj
2020-04-18 16:36:26 +02:00
Matt Tancock
bffe4d32f5
Add Codable support to DatabaseDateComponents
2020-04-17 16:16:34 +01:00
Gwendal Roué
3fd00012d1
Update obsolete observation usage in README
2020-04-17 09:03:03 +02:00
Gwendal Roué
6d901b06e9
TODO
2020-04-16 19:27:09 +02:00
Gwendal Roué
f677310703
Merge branch 'development'
v4.13.0
2020-04-15 08:27:35 +02:00
Gwendal Roué
0200f64e6c
v4.13.0
2020-04-14 19:14:15 +02:00
Gwendal Roué
c6b5c935bb
Merge pull request #761 from groue/dev/deprecate-assignment-operator
...
Deprecate the batch update `<-` operator
2020-04-14 19:03:43 +02:00
Gwendal Roué
2d30f06f54
Update regression test introduced after commit cherry-picked from #750
2020-04-14 19:01:42 +02:00
Gwendal Roué
a98350d206
CHANGELOG
2020-04-14 18:55:40 +02:00