Gwendal Roué
284ebbd3ef
[skip travis] Update thank you notice
2021-03-03 14:09:23 +01:00
Gwendal Roué
3b6cf4c12b
Merge branch 'development'
v5.5.0
2021-03-03 13:00:39 +01:00
Gwendal Roué
2329a5c7b4
v5.5.0
2021-03-03 13:00:21 +01:00
Gwendal Roué
8f50d70703
Merge pull request #930 from groue/dev/issue-929
...
Fix SQL generation for `COLLATE`, `IN`, `NOT IN`
2021-03-03 07:56:14 +01:00
Gwendal Roué
d2d515658e
CHANGELOG
2021-03-02 20:21:51 +01:00
Gwendal Roué
72123494ca
Add test for NOT IN and collated expressions
2021-03-02 20:16:15 +01:00
Gwendal Roué
7b81fd1bff
Fix documentation for #929
2021-03-02 20:12:38 +01:00
Gwendal Roué
5ea7296e7a
Add support for subquery.contains(collated expression)
2021-03-02 20:09:24 +01:00
Gwendal Roué
279b00f890
Fix failing tests for #929
2021-03-02 20:03:19 +01:00
Gwendal Roué
01d71d6f35
Failing tests for #929
2021-03-02 20:02:46 +01:00
Gwendal Roué
96df69b3fb
Add fundamental test for #929
2021-03-02 19:06:18 +01:00
Gwendal Roué
b17fce357d
Merge pull request #925 from groue/dev/RowDecodingError
...
Foundation for decoding errors
2021-03-01 09:03:20 +01:00
Gwendal Roué
37dfd95ae1
Symmetry with StatementColumnConvertible
2021-02-26 19:31:41 +01:00
Gwendal Roué
b834b9876d
Data.fastDecodeNoCopyIfPresent can not fail
2021-02-26 18:51:14 +01:00
Gwendal Roué
7f48e66fdc
Reduce inlined code
2021-02-26 18:50:47 +01:00
Gwendal Roué
b7c57dc7f2
Attempt at clarifying the (complex) decoding api
...
The difficulty is due to fast decoding of StatementColumnConvertible, and non-copied Data, from raw SQLite statement.
We want it to be inlinable, and possible in nested rows.
Added missing tests for nested rows
2021-02-25 20:45:12 +01:00
Gwendal Roué
cb2405a8b9
RowDecodingError
2021-02-21 14:21:04 +01:00
Gwendal Roué
4398777f07
TODO
2021-02-20 17:03:17 +01:00
Gwendal Roué
6e8285e4ec
CHANGELOG
2021-02-20 13:02:30 +01:00
Gwendal Roué
aceaaf24d2
Paranoid: Wrap DatabaseQueue.read in a transaction
...
This guarantees snapshot isolation even in case of external connections
2021-02-20 12:59:27 +01:00
Gwendal Roué
64bb63e304
CommonTableExpression has an implicit Row RowDecoder
2021-02-20 12:47:13 +01:00
Gwendal Roué
a681ccf2b9
Fix: DatabaseQueue.read is throws, not rethrows
2021-02-20 11:55:19 +01:00
Gwendal Roué
8c8a25a73b
Spot the possible improvement on SQLRelation children
2021-02-20 11:42:54 +01:00
Gwendal Roué
d419d23368
Tests for SQLRelation children
2021-02-19 16:28:22 +01:00
Gwendal Roué
081500b5ce
TODO
2021-02-19 13:26:18 +01:00
Gwendal Roué
7dd36ecc0f
Tests for SQLRelation children
2021-02-19 07:36:33 +01:00
Gwendal Roué
10a16ac6f0
Rename .allNotPrefetched to .bridge
2021-02-18 08:42:01 +01:00
Gwendal Roué
d7f61fa0f5
Documentation
2021-02-18 07:58:10 +01:00
Gwendal Roué
3665a533cf
Add missing tests for has-many through association with three steps
2021-02-17 20:04:35 +01:00
Gwendal Roué
c9332a8c9e
Fix typo
2021-02-17 20:03:59 +01:00
Gwendal Roué
e40534942c
format
2021-02-17 18:19:52 +01:00
Gwendal Roué
de52856cf3
Aliasing is not qualifying
2021-02-17 18:11:00 +01:00
Gwendal Roué
0dd345eb91
SQLQuery no longer depends on SQLExpressible and other high-level protocols
2021-02-17 18:00:53 +01:00
Gwendal Roué
c4620aa587
SQLRelation no longer depends on SQLExpressible and _JoinableRequest
...
Those are one level up
2021-02-17 17:43:57 +01:00
Gwendal Roué
bda63c70bf
Document the type of variables
2021-02-17 13:51:23 +01:00
Gwendal Roué
3407715599
CHANGELOG
2021-02-17 13:47:15 +01:00
Gwendal Roué
7eaf579c18
Update CommonTableExpression documentation about the implicit Void RowDecoder
2021-02-17 13:44:51 +01:00
Gwendal Roué
488849535e
CommonTableExpression has an implicit Void RowDecoder
2021-02-17 13:22:28 +01:00
Gwendal Roué
15b892af6e
Implement filters with SQLExpression? instead of [SQLExpression]
...
Those arrays were introduced so that we can generate nicer sql: `a AND b AND c`, instead of `(a AND b) AND c`.
This flattening is provided by the && operator and `SQLExpression.associativeBinary`, so those arrays are no longer needed.
2021-02-17 08:45:57 +01:00
Gwendal Roué
cceb24a1e5
Merge branch 'development'
v5.4.0
2021-02-15 19:17:27 +01:00
Gwendal Roué
bea454a0b9
v5.4.0
2021-02-15 19:16:06 +01:00
Gwendal Roué
276fb2d698
Performance tests: upgrade dependencies
2021-02-15 18:54:32 +01:00
Gwendal Roué
8e3046b00f
Move Sequence.joined(operator:) back to SQLSpecificExpressible
...
`[1, 2, 3].joined(operator: .add)` is not supported. It would pollute autocompletion.
This commit fixes a regression introduced in 920417b .
2021-02-15 18:16:18 +01:00
Gwendal Roué
8a5790ed8b
Move SQLSelectable and SQLOrderingTerm down from SQLExpressible to SQLSpecificExpressible
2021-02-15 14:01:42 +01:00
Gwendal Roué
fd6f5ec525
CHANGELOG
2021-02-15 13:55:58 +01:00
Gwendal Roué
987d549ff0
Remove obsolete test in demo app
2021-02-15 07:59:48 +01:00
Gwendal Roué
f57e724ef6
Merge pull request #922 from groue/experiments/enums
...
Refactor query interface implementation
2021-02-15 07:22:42 +01:00
Gwendal Roué
920417beb3
Replace protocols with enums
2021-02-14 18:28:15 +01:00
Gwendal Roué
2a016ac4f5
TODO
2021-02-12 18:47:37 +01:00
Gwendal Roué
ba3a3f7c38
Move definition of TableRecord to CTE associations
2021-02-09 18:14:35 +01:00