Gwendal Roué
529b042b8a
Database.makeSelectStatement(literal:) tests
2021-03-18 19:24:37 +01:00
Gwendal Roué
3753bd8d6d
Database.makeUpdateStatement(literal:) tests
2021-03-18 18:48:22 +01:00
Gwendal Roué
339fbdf1ce
Literal column alteration
2021-03-17 21:54:56 +01:00
Gwendal Roué
085c8f5953
Literal table and constraint definition
2021-03-17 20:26:49 +01:00
Gwendal Roué
fcb6049381
Test SQLLiteral protocols in practice
2021-03-17 18:21:44 +01:00
Gwendal Roué
77db650464
More SQLLiteral interpolation test
2021-03-14 13:08:10 +01:00
Gwendal Roué
0e8a42aedc
Tests for interpretations of SQLLiteral
...
If those tests break, we have introduced a breaking change.
2021-03-14 12:57:15 +01:00
Gwendal Roué
ac436a2770
Make SQLLiteral less painful to use
2021-03-14 11:09:29 +01:00
Gwendal Roué
6e7555514a
More collection initializers from cursors
...
- support for minimumCapacity
- support for Dictionary (cursors with unique keys)
2021-03-12 13:48:25 +01:00
Gwendal Roué
4dd8042894
Make it possible to decode arrays of scalars from including(all:)
2021-03-08 14:21:35 +01:00
Gwendal Roué
4583bbfa90
Test for joined associations that use CTEs
2021-03-08 14:10:43 +01:00
Gwendal Roué
6b733cfc0a
Tests for including(all:) with distinct, limited, grouped, and cte-decorated associations
2021-03-07 20:32:21 +01:00
Gwendal Roué
ea6a052b73
Merge all SQLRelation properties
2021-03-07 17:12:44 +01:00
Gwendal Roué
7623a96034
Failing test for #931
2021-03-06 13:34:27 +01:00
Gwendal Roué
174766925a
Remove warning
2021-03-03 20:04:08 +01:00
Gwendal Roué
72123494ca
Add test for NOT IN and collated expressions
2021-03-02 20:16:15 +01:00
Gwendal Roué
5ea7296e7a
Add support for subquery.contains(collated expression)
2021-03-02 20:09:24 +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é
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