Gwendal Roué
96df69b3fb
Add fundamental test for #929
2021-03-02 19:06:18 +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é
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é
7dd36ecc0f
Tests for SQLRelation children
2021-02-19 07:36:33 +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é
488849535e
CommonTableExpression has an implicit Void RowDecoder
2021-02-17 13:22:28 +01:00
Gwendal Roué
276fb2d698
Performance tests: upgrade dependencies
2021-02-15 18:54:32 +01:00
Gwendal Roué
920417beb3
Replace protocols with enums
2021-02-14 18:28:15 +01:00
Gwendal Roué
25b2a0392d
SQL interpolation supports embedding collations into SQL literals
2021-01-28 08:39:40 +01:00
Gwendal Roué
db54c567de
Performance tests: upgrade Realm, and set deployment target to macOS 10.15
2021-01-09 16:59:34 +01:00
Gwendal Roué
267bfb29fe
Merge pull request #892 from eburns-vmware/dev/data_passphrase
...
Provide SQLCipher passphrase as Data
2021-01-09 14:33:46 +01:00
wuyueyang
ff6bdc38ef
Add test case for custom tokenizer with a unicode61 tokenizer of multiple arguments wrapped
2021-01-01 00:44:00 +08:00
Gwendal Roué
ef5b284f11
Remove TODO warning
2020-12-23 12:39:57 +01:00
Gwendal Roué
6ea1e6aeaf
Test that pragma tables are not tracked
2020-12-23 10:41:03 +01:00
Gwendal Roué
6abbf82a89
So long, visitor pattern!
2020-12-23 09:02:17 +01:00
Gwendal Roué
c844438dd6
Xcode 12.2 touch
2020-12-20 08:51:42 +01:00
Ed Burns
5546961c8c
Test fixes and cleanup.
2020-12-17 17:10:39 -06:00
Ed Burns
d09571c0ad
Added option to specify passphrase as a Data object, added section to README.
2020-12-17 11:19:05 -06:00
Gwendal Roué
ab502baa20
CommonTableExpression.contains(_:)
2020-12-13 18:29:28 +01:00
Gwendal Roué
618be9b5e4
Do not support null in foreign keys more than SQLite itself
2020-12-12 12:40:50 +01:00
Gwendal Roué
6082fc4e54
Tests for nullable compound foreign keys
2020-12-12 12:40:50 +01:00
Gwendal Roué
472b5bc604
Test two levels of include(all:) with compound foreign keys
2020-12-12 12:40:50 +01:00
Gwendal Roué
cad788e59e
Revert "Prefer CommonTableExpression.contains(_:)"
...
This reverts commit 87a0921586e319ccd4ee02e991ec555c6a915c13.
2020-12-12 12:40:49 +01:00
Gwendal Roué
2cb4cf51c3
TODO
2020-12-12 12:40:49 +01:00
Gwendal Roué
aabf6e6247
Prefer CommonTableExpression.contains(_:)
2020-12-12 12:40:49 +01:00
Gwendal Roué
fcd6a453f0
Replace CTE request with its table name
2020-12-12 12:40:49 +01:00
Gwendal Roué
b70f85d94b
Fix #871
2020-12-12 12:40:49 +01:00
Gwendal Roué
c36539adb3
CTEs can enter UPDATE and DELETE queries
2020-12-12 11:06:51 +01:00
Gwendal Roué
992f2a2d83
Revert "CommonTableExpression.contains(_:)"
...
This reverts commit f94cecb329 .
We can't expose a raw table name like that, because it may be used several times, and need an alias.
2020-12-08 18:36:51 +01:00
Gwendal Roué
f94cecb329
CommonTableExpression.contains(_:)
2020-12-06 19:22:30 +01:00
Gwendal Roué
5b3eee53c2
SQL interpolation of CTEs
2020-12-05 16:13:24 +01:00
Gwendal Roué
63255cabf8
SQL interpolation of CTEs
2020-12-05 13:40:56 +01:00
Gwendal Roué
64776682fe
Drop USING clause until actually needed
2020-12-03 09:21:19 +01:00
Gwendal Roué
4ee6f3293a
CTE columns are provided as strings
2020-12-03 08:34:43 +01:00
Gwendal Roué
17b884b3dc
Recursive CTEs
2020-12-03 08:28:14 +01:00
Gwendal Roué
0f6d36bfc2
Cleanup
2020-12-03 07:07:39 +01:00
Gwendal Roué
333ffc1ebe
Documentation
2020-12-02 21:55:51 +01:00
Gwendal Roué
181c930e39
Cleanup
2020-12-02 19:29:35 +01:00
Gwendal Roué
65337e74d9
Solve #856 with a CTE :-)
2020-12-02 19:14:53 +01:00
Gwendal Roué
69c116507b
Fetch straight from a CTE
2020-12-02 18:40:58 +01:00
Gwendal Roué
a7a4858364
Refactor CommonTableExpression initializers
2020-12-02 06:12:55 +01:00
Gwendal Roué
3a38cbe87f
Create CTE without request
2020-12-02 06:00:04 +01:00
Gwendal Roué
2c42d0129c
CTE columns: WITH cte(a, b) AS ...
2020-12-02 05:36:56 +01:00
Gwendal Roué
b1d162c14e
Filter, order, alias CTE
2020-12-01 20:38:37 +01:00
Gwendal Roué
a70b42cbf5
Extract SQLAssociationCondition.using
2020-12-01 20:30:36 +01:00